{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from tensorflow import keras\n",
    "import pandas as pd\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "data = pd.read_csv('./train.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>PassengerId</th>\n",
       "      <th>Survived</th>\n",
       "      <th>Pclass</th>\n",
       "      <th>Name</th>\n",
       "      <th>Sex</th>\n",
       "      <th>Age</th>\n",
       "      <th>SibSp</th>\n",
       "      <th>Parch</th>\n",
       "      <th>Ticket</th>\n",
       "      <th>Fare</th>\n",
       "      <th>Cabin</th>\n",
       "      <th>Embarked</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Braund, Mr. Owen Harris</td>\n",
       "      <td>male</td>\n",
       "      <td>22.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>A/5 21171</td>\n",
       "      <td>7.2500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Cumings, Mrs. John Bradley (Florence Briggs Th...</td>\n",
       "      <td>female</td>\n",
       "      <td>38.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>PC 17599</td>\n",
       "      <td>71.2833</td>\n",
       "      <td>C85</td>\n",
       "      <td>C</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>Heikkinen, Miss. Laina</td>\n",
       "      <td>female</td>\n",
       "      <td>26.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>STON/O2. 3101282</td>\n",
       "      <td>7.9250</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Futrelle, Mrs. Jacques Heath (Lily May Peel)</td>\n",
       "      <td>female</td>\n",
       "      <td>35.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>113803</td>\n",
       "      <td>53.1000</td>\n",
       "      <td>C123</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>Allen, Mr. William Henry</td>\n",
       "      <td>male</td>\n",
       "      <td>35.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>373450</td>\n",
       "      <td>8.0500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>S</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   PassengerId  Survived  Pclass  \\\n",
       "0            1         0       3   \n",
       "1            2         1       1   \n",
       "2            3         1       3   \n",
       "3            4         1       1   \n",
       "4            5         0       3   \n",
       "\n",
       "                                                Name     Sex   Age  SibSp  \\\n",
       "0                            Braund, Mr. Owen Harris    male  22.0      1   \n",
       "1  Cumings, Mrs. John Bradley (Florence Briggs Th...  female  38.0      1   \n",
       "2                             Heikkinen, Miss. Laina  female  26.0      0   \n",
       "3       Futrelle, Mrs. Jacques Heath (Lily May Peel)  female  35.0      1   \n",
       "4                           Allen, Mr. William Henry    male  35.0      0   \n",
       "\n",
       "   Parch            Ticket     Fare Cabin Embarked  \n",
       "0      0         A/5 21171   7.2500   NaN        S  \n",
       "1      0          PC 17599  71.2833   C85        C  \n",
       "2      0  STON/O2. 3101282   7.9250   NaN        S  \n",
       "3      0            113803  53.1000  C123        S  \n",
       "4      0            373450   8.0500   NaN        S  "
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "y = data.Survived"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "x = data[['Pclass','Sex','Age','SibSp','Parch','Fare','Embarked']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "x = pd.get_dummies(x,columns=['Pclass','Sex','Embarked'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "x['Age'] = x.Age.fillna(x.Age.mean())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "del x[\"Sex_female\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model = keras.Sequential()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(891, 11)"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.add(keras.layers.Dense(32,input_dim=\"11\",activation='relu'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.add(keras.layers.Dense(32,activation='relu'))\n",
    "model.add(keras.layers.Dense(1,activation='sigmoid'))        "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "_________________________________________________________________\n",
      "Layer (type)                 Output Shape              Param #   \n",
      "=================================================================\n",
      "dense (Dense)                (None, 32)                384       \n",
      "_________________________________________________________________\n",
      "dense_1 (Dense)              (None, 32)                1056      \n",
      "_________________________________________________________________\n",
      "dense_2 (Dense)              (None, 1)                 33        \n",
      "=================================================================\n",
      "Total params: 1,473\n",
      "Trainable params: 1,473\n",
      "Non-trainable params: 0\n",
      "_________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "model.summary()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.compile(optimizer='adam',loss='binary_crossentropy',metrics=['acc'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/2000\n",
      "891/891 [==============================] - 0s 129us/step - loss: 0.3323 - acc: 0.8496\n",
      "Epoch 2/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.3270 - acc: 0.8541\n",
      "Epoch 3/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3292 - acc: 0.8541\n",
      "Epoch 4/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3287 - acc: 0.8552\n",
      "Epoch 5/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3333 - acc: 0.8485\n",
      "Epoch 6/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3322 - acc: 0.8530\n",
      "Epoch 7/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3419 - acc: 0.8462\n",
      "Epoch 8/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3352 - acc: 0.8462\n",
      "Epoch 9/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.3341 - acc: 0.8541\n",
      "Epoch 10/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3322 - acc: 0.8575\n",
      "Epoch 11/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3523 - acc: 0.8474\n",
      "Epoch 12/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3283 - acc: 0.8541\n",
      "Epoch 13/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3483 - acc: 0.8418\n",
      "Epoch 14/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3463 - acc: 0.8474\n",
      "Epoch 15/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3413 - acc: 0.8563\n",
      "Epoch 16/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3365 - acc: 0.8462\n",
      "Epoch 17/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3345 - acc: 0.8507\n",
      "Epoch 18/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3309 - acc: 0.8563\n",
      "Epoch 19/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3291 - acc: 0.8575\n",
      "Epoch 20/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3256 - acc: 0.8642\n",
      "Epoch 21/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.3264 - acc: 0.8620\n",
      "Epoch 22/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3236 - acc: 0.8653\n",
      "Epoch 23/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3381 - acc: 0.8451\n",
      "Epoch 24/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3276 - acc: 0.8485\n",
      "Epoch 25/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3322 - acc: 0.8462\n",
      "Epoch 26/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3295 - acc: 0.8519\n",
      "Epoch 27/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3278 - acc: 0.8597\n",
      "Epoch 28/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3337 - acc: 0.8530\n",
      "Epoch 29/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3351 - acc: 0.8507\n",
      "Epoch 30/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3310 - acc: 0.8631\n",
      "Epoch 31/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3267 - acc: 0.8608\n",
      "Epoch 32/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3283 - acc: 0.8620\n",
      "Epoch 33/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3218 - acc: 0.8575\n",
      "Epoch 34/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.3299 - acc: 0.8608\n",
      "Epoch 35/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3450 - acc: 0.8507\n",
      "Epoch 36/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3241 - acc: 0.8586\n",
      "Epoch 37/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3280 - acc: 0.8530\n",
      "Epoch 38/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3438 - acc: 0.8395\n",
      "Epoch 39/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3305 - acc: 0.8552\n",
      "Epoch 40/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3303 - acc: 0.8541\n",
      "Epoch 41/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3482 - acc: 0.8474\n",
      "Epoch 42/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.3450 - acc: 0.8507\n",
      "Epoch 43/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3309 - acc: 0.8631\n",
      "Epoch 44/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3252 - acc: 0.8608\n",
      "Epoch 45/2000\n",
      "891/891 [==============================] - 0s 128us/step - loss: 0.3236 - acc: 0.8631\n",
      "Epoch 46/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3293 - acc: 0.8496\n",
      "Epoch 47/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3229 - acc: 0.8485\n",
      "Epoch 48/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3315 - acc: 0.8642\n",
      "Epoch 49/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3281 - acc: 0.8620\n",
      "Epoch 50/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3374 - acc: 0.8507\n",
      "Epoch 51/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3213 - acc: 0.8676\n",
      "Epoch 52/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3244 - acc: 0.8597\n",
      "Epoch 53/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3210 - acc: 0.8721\n",
      "Epoch 54/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3206 - acc: 0.8586\n",
      "Epoch 55/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3203 - acc: 0.8642\n",
      "Epoch 56/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3269 - acc: 0.8586\n",
      "Epoch 57/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3211 - acc: 0.8496\n",
      "Epoch 58/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3231 - acc: 0.8608\n",
      "Epoch 59/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3315 - acc: 0.8653\n",
      "Epoch 60/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3254 - acc: 0.8597\n",
      "Epoch 61/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3250 - acc: 0.8620\n",
      "Epoch 62/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3204 - acc: 0.8642\n",
      "Epoch 63/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3238 - acc: 0.8608\n",
      "Epoch 64/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3380 - acc: 0.8462\n",
      "Epoch 65/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3179 - acc: 0.8653\n",
      "Epoch 66/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.3247 - acc: 0.8541\n",
      "Epoch 67/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3353 - acc: 0.8575\n",
      "Epoch 68/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3229 - acc: 0.8597\n",
      "Epoch 69/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3224 - acc: 0.8642\n",
      "Epoch 70/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3207 - acc: 0.8676\n",
      "Epoch 71/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3192 - acc: 0.8631\n",
      "Epoch 72/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3236 - acc: 0.8597\n",
      "Epoch 73/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3228 - acc: 0.8597\n",
      "Epoch 74/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3218 - acc: 0.8608\n",
      "Epoch 75/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3270 - acc: 0.8541\n",
      "Epoch 76/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3248 - acc: 0.8631\n",
      "Epoch 77/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3297 - acc: 0.8474\n",
      "Epoch 78/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3272 - acc: 0.8586\n",
      "Epoch 79/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3214 - acc: 0.8620\n",
      "Epoch 80/2000\n",
      "891/891 [==============================] - 0s 123us/step - loss: 0.3165 - acc: 0.8642\n",
      "Epoch 81/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3182 - acc: 0.8631\n",
      "Epoch 82/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3208 - acc: 0.8597\n",
      "Epoch 83/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3260 - acc: 0.8586\n",
      "Epoch 84/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3312 - acc: 0.8530\n",
      "Epoch 85/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3237 - acc: 0.8620\n",
      "Epoch 86/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3235 - acc: 0.8575\n",
      "Epoch 87/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3197 - acc: 0.8631\n",
      "Epoch 88/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3225 - acc: 0.8563\n",
      "Epoch 89/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3302 - acc: 0.8563\n",
      "Epoch 90/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3285 - acc: 0.8631\n",
      "Epoch 91/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3235 - acc: 0.8631\n",
      "Epoch 92/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3194 - acc: 0.8653\n",
      "Epoch 93/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3202 - acc: 0.8575\n",
      "Epoch 94/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3176 - acc: 0.8687\n",
      "Epoch 95/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3154 - acc: 0.8754\n",
      "Epoch 96/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3163 - acc: 0.8664\n",
      "Epoch 97/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3191 - acc: 0.8586\n",
      "Epoch 98/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3137 - acc: 0.8754\n",
      "Epoch 99/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3177 - acc: 0.8732\n",
      "Epoch 100/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3201 - acc: 0.8552\n",
      "Epoch 101/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3172 - acc: 0.8664\n",
      "Epoch 102/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3268 - acc: 0.8653\n",
      "Epoch 103/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3262 - acc: 0.8541\n",
      "Epoch 104/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.3205 - acc: 0.8642\n",
      "Epoch 105/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3229 - acc: 0.8653\n",
      "Epoch 106/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3166 - acc: 0.8620\n",
      "Epoch 107/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3242 - acc: 0.8620\n",
      "Epoch 108/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3270 - acc: 0.8664\n",
      "Epoch 109/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3296 - acc: 0.8676\n",
      "Epoch 110/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3179 - acc: 0.8631\n",
      "Epoch 111/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3202 - acc: 0.8687\n",
      "Epoch 112/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3174 - acc: 0.8631\n",
      "Epoch 113/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3222 - acc: 0.8653\n",
      "Epoch 114/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3180 - acc: 0.8676\n",
      "Epoch 115/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3172 - acc: 0.8698\n",
      "Epoch 116/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3232 - acc: 0.8563\n",
      "Epoch 117/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3121 - acc: 0.8709\n",
      "Epoch 118/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3154 - acc: 0.8765\n",
      "Epoch 119/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3127 - acc: 0.8620\n",
      "Epoch 120/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3142 - acc: 0.8721\n",
      "Epoch 121/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3255 - acc: 0.8586\n",
      "Epoch 122/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3216 - acc: 0.8552\n",
      "Epoch 123/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3173 - acc: 0.8631\n",
      "Epoch 124/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3129 - acc: 0.8709\n",
      "Epoch 125/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.3217 - acc: 0.8552\n",
      "Epoch 126/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3365 - acc: 0.8552\n",
      "Epoch 127/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3309 - acc: 0.8519\n",
      "Epoch 128/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.3177 - acc: 0.8642\n",
      "Epoch 129/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3162 - acc: 0.8664\n",
      "Epoch 130/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3212 - acc: 0.8721\n",
      "Epoch 131/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3137 - acc: 0.8732\n",
      "Epoch 132/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3193 - acc: 0.8664\n",
      "Epoch 133/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3149 - acc: 0.8653\n",
      "Epoch 134/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3166 - acc: 0.8653\n",
      "Epoch 135/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.3183 - acc: 0.8698\n",
      "Epoch 136/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3158 - acc: 0.8698\n",
      "Epoch 137/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3344 - acc: 0.8597\n",
      "Epoch 138/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3315 - acc: 0.8563\n",
      "Epoch 139/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3173 - acc: 0.8631\n",
      "Epoch 140/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3124 - acc: 0.8765\n",
      "Epoch 141/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3238 - acc: 0.8608\n",
      "Epoch 142/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3188 - acc: 0.8608\n",
      "Epoch 143/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3131 - acc: 0.8777\n",
      "Epoch 144/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3160 - acc: 0.8709\n",
      "Epoch 145/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3190 - acc: 0.8597\n",
      "Epoch 146/2000\n",
      "891/891 [==============================] - 0s 108us/step - loss: 0.3121 - acc: 0.8631\n",
      "Epoch 147/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3162 - acc: 0.8620\n",
      "Epoch 148/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3120 - acc: 0.8631\n",
      "Epoch 149/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3162 - acc: 0.8676\n",
      "Epoch 150/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3166 - acc: 0.8575\n",
      "Epoch 151/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3105 - acc: 0.8777\n",
      "Epoch 152/2000\n",
      "891/891 [==============================] - 0s 128us/step - loss: 0.3178 - acc: 0.8597\n",
      "Epoch 153/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.3085 - acc: 0.8698\n",
      "Epoch 154/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3115 - acc: 0.8721\n",
      "Epoch 155/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3131 - acc: 0.8631\n",
      "Epoch 156/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3088 - acc: 0.8732\n",
      "Epoch 157/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3207 - acc: 0.8631\n",
      "Epoch 158/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3253 - acc: 0.8620\n",
      "Epoch 159/2000\n",
      "891/891 [==============================] - 0s 108us/step - loss: 0.3137 - acc: 0.8653\n",
      "Epoch 160/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3155 - acc: 0.8631\n",
      "Epoch 161/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3081 - acc: 0.8709\n",
      "Epoch 162/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3157 - acc: 0.8754\n",
      "Epoch 163/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3259 - acc: 0.8552\n",
      "Epoch 164/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 104us/step - loss: 0.3113 - acc: 0.8664\n",
      "Epoch 165/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3173 - acc: 0.8642\n",
      "Epoch 166/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3065 - acc: 0.8687\n",
      "Epoch 167/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3143 - acc: 0.8575\n",
      "Epoch 168/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3105 - acc: 0.8676\n",
      "Epoch 169/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3059 - acc: 0.8743\n",
      "Epoch 170/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3115 - acc: 0.8664\n",
      "Epoch 171/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3120 - acc: 0.8709\n",
      "Epoch 172/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3166 - acc: 0.8631\n",
      "Epoch 173/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3127 - acc: 0.8676\n",
      "Epoch 174/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3071 - acc: 0.8709\n",
      "Epoch 175/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3124 - acc: 0.8687\n",
      "Epoch 176/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3070 - acc: 0.8777\n",
      "Epoch 177/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.3087 - acc: 0.8676\n",
      "Epoch 178/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3164 - acc: 0.8608\n",
      "Epoch 179/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3145 - acc: 0.8698\n",
      "Epoch 180/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3086 - acc: 0.8732\n",
      "Epoch 181/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3095 - acc: 0.8709\n",
      "Epoch 182/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3095 - acc: 0.8709\n",
      "Epoch 183/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3123 - acc: 0.8653\n",
      "Epoch 184/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3076 - acc: 0.8664\n",
      "Epoch 185/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3057 - acc: 0.8721\n",
      "Epoch 186/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3074 - acc: 0.8642\n",
      "Epoch 187/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3076 - acc: 0.8709\n",
      "Epoch 188/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3143 - acc: 0.8664\n",
      "Epoch 189/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3337 - acc: 0.8485\n",
      "Epoch 190/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3147 - acc: 0.8608\n",
      "Epoch 191/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3054 - acc: 0.8597\n",
      "Epoch 192/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3107 - acc: 0.8676\n",
      "Epoch 193/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3045 - acc: 0.8822\n",
      "Epoch 194/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3149 - acc: 0.8575\n",
      "Epoch 195/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3109 - acc: 0.8709\n",
      "Epoch 196/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3125 - acc: 0.8530\n",
      "Epoch 197/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3152 - acc: 0.8597\n",
      "Epoch 198/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3092 - acc: 0.8631\n",
      "Epoch 199/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3142 - acc: 0.8563\n",
      "Epoch 200/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3161 - acc: 0.8552\n",
      "Epoch 201/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.3070 - acc: 0.8732\n",
      "Epoch 202/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3099 - acc: 0.8743\n",
      "Epoch 203/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3096 - acc: 0.8698\n",
      "Epoch 204/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3113 - acc: 0.8642\n",
      "Epoch 205/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3076 - acc: 0.8754\n",
      "Epoch 206/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3030 - acc: 0.8732\n",
      "Epoch 207/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3119 - acc: 0.8732\n",
      "Epoch 208/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3154 - acc: 0.8597\n",
      "Epoch 209/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3267 - acc: 0.8563\n",
      "Epoch 210/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3056 - acc: 0.8765\n",
      "Epoch 211/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3045 - acc: 0.8754\n",
      "Epoch 212/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.3115 - acc: 0.8653\n",
      "Epoch 213/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3021 - acc: 0.8765\n",
      "Epoch 214/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3042 - acc: 0.8777\n",
      "Epoch 215/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3032 - acc: 0.8709\n",
      "Epoch 216/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3021 - acc: 0.8765\n",
      "Epoch 217/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.3029 - acc: 0.8709\n",
      "Epoch 218/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.3074 - acc: 0.8721\n",
      "Epoch 219/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3115 - acc: 0.8676\n",
      "Epoch 220/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3060 - acc: 0.8541\n",
      "Epoch 221/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3110 - acc: 0.8709\n",
      "Epoch 222/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3102 - acc: 0.8676\n",
      "Epoch 223/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3083 - acc: 0.8642\n",
      "Epoch 224/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3039 - acc: 0.8743\n",
      "Epoch 225/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3058 - acc: 0.8743\n",
      "Epoch 226/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3027 - acc: 0.8754\n",
      "Epoch 227/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3131 - acc: 0.8653\n",
      "Epoch 228/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3030 - acc: 0.8765\n",
      "Epoch 229/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3034 - acc: 0.8687\n",
      "Epoch 230/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3026 - acc: 0.8743\n",
      "Epoch 231/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3065 - acc: 0.8642\n",
      "Epoch 232/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.3089 - acc: 0.8709\n",
      "Epoch 233/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.3024 - acc: 0.8721\n",
      "Epoch 234/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.3052 - acc: 0.8754\n",
      "Epoch 235/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3087 - acc: 0.8743\n",
      "Epoch 236/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3043 - acc: 0.8743\n",
      "Epoch 237/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3004 - acc: 0.8709\n",
      "Epoch 238/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3122 - acc: 0.8732\n",
      "Epoch 239/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3066 - acc: 0.8653\n",
      "Epoch 240/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3048 - acc: 0.8687\n",
      "Epoch 241/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3068 - acc: 0.8642\n",
      "Epoch 242/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3113 - acc: 0.8743\n",
      "Epoch 243/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3152 - acc: 0.8642\n",
      "Epoch 244/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3110 - acc: 0.8653\n",
      "Epoch 245/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.3070 - acc: 0.8777\n",
      "Epoch 246/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3048 - acc: 0.8709\n",
      "Epoch 247/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3100 - acc: 0.8586\n",
      "Epoch 248/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3097 - acc: 0.8676\n",
      "Epoch 249/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3128 - acc: 0.8732\n",
      "Epoch 250/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.3045 - acc: 0.8788\n",
      "Epoch 251/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3054 - acc: 0.8620\n",
      "Epoch 252/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3050 - acc: 0.8608\n",
      "Epoch 253/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2995 - acc: 0.8765\n",
      "Epoch 254/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3030 - acc: 0.8732\n",
      "Epoch 255/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2995 - acc: 0.8687\n",
      "Epoch 256/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3034 - acc: 0.8676\n",
      "Epoch 257/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.3161 - acc: 0.8653\n",
      "Epoch 258/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.3133 - acc: 0.8653\n",
      "Epoch 259/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3127 - acc: 0.8631\n",
      "Epoch 260/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3014 - acc: 0.8709\n",
      "Epoch 261/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2994 - acc: 0.8754\n",
      "Epoch 262/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2972 - acc: 0.8765\n",
      "Epoch 263/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2982 - acc: 0.8754\n",
      "Epoch 264/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.3032 - acc: 0.8653\n",
      "Epoch 265/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3170 - acc: 0.8631\n",
      "Epoch 266/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3221 - acc: 0.8586\n",
      "Epoch 267/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2997 - acc: 0.8732\n",
      "Epoch 268/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3032 - acc: 0.8721\n",
      "Epoch 269/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3007 - acc: 0.8709\n",
      "Epoch 270/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.3005 - acc: 0.8732\n",
      "Epoch 271/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3026 - acc: 0.8765\n",
      "Epoch 272/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3102 - acc: 0.8687\n",
      "Epoch 273/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3001 - acc: 0.8721\n",
      "Epoch 274/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2980 - acc: 0.8777\n",
      "Epoch 275/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3005 - acc: 0.8754\n",
      "Epoch 276/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2965 - acc: 0.8743\n",
      "Epoch 277/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3056 - acc: 0.8642\n",
      "Epoch 278/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2984 - acc: 0.8788\n",
      "Epoch 279/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2977 - acc: 0.8765\n",
      "Epoch 280/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.3015 - acc: 0.8743\n",
      "Epoch 281/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2970 - acc: 0.8777\n",
      "Epoch 282/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3013 - acc: 0.8676\n",
      "Epoch 283/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2986 - acc: 0.8799\n",
      "Epoch 284/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3066 - acc: 0.8563\n",
      "Epoch 285/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3145 - acc: 0.8620\n",
      "Epoch 286/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3167 - acc: 0.8586\n",
      "Epoch 287/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3052 - acc: 0.8732\n",
      "Epoch 288/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2979 - acc: 0.8743\n",
      "Epoch 289/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2949 - acc: 0.8732\n",
      "Epoch 290/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2963 - acc: 0.8799\n",
      "Epoch 291/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2999 - acc: 0.8709\n",
      "Epoch 292/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2965 - acc: 0.8698\n",
      "Epoch 293/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.3024 - acc: 0.8788\n",
      "Epoch 294/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3168 - acc: 0.8620\n",
      "Epoch 295/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2971 - acc: 0.8698\n",
      "Epoch 296/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2919 - acc: 0.8687\n",
      "Epoch 297/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3075 - acc: 0.8653\n",
      "Epoch 298/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2987 - acc: 0.8687\n",
      "Epoch 299/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2966 - acc: 0.8844\n",
      "Epoch 300/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.3019 - acc: 0.8754\n",
      "Epoch 301/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2987 - acc: 0.8732\n",
      "Epoch 302/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3008 - acc: 0.8698\n",
      "Epoch 303/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2942 - acc: 0.8788\n",
      "Epoch 304/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3031 - acc: 0.8732\n",
      "Epoch 305/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2953 - acc: 0.8765\n",
      "Epoch 306/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2928 - acc: 0.8777\n",
      "Epoch 307/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2948 - acc: 0.8810\n",
      "Epoch 308/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2942 - acc: 0.8788\n",
      "Epoch 309/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3020 - acc: 0.8676\n",
      "Epoch 310/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3005 - acc: 0.8777\n",
      "Epoch 311/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2953 - acc: 0.8743\n",
      "Epoch 312/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.3054 - acc: 0.8687\n",
      "Epoch 313/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2962 - acc: 0.8799\n",
      "Epoch 314/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2961 - acc: 0.8810\n",
      "Epoch 315/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3077 - acc: 0.8687\n",
      "Epoch 316/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2967 - acc: 0.8754\n",
      "Epoch 317/2000\n",
      "891/891 [==============================] - 0s 126us/step - loss: 0.2980 - acc: 0.8721\n",
      "Epoch 318/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2955 - acc: 0.8777\n",
      "Epoch 319/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2982 - acc: 0.8743\n",
      "Epoch 320/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3005 - acc: 0.8687\n",
      "Epoch 321/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3015 - acc: 0.8765\n",
      "Epoch 322/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2947 - acc: 0.8810\n",
      "Epoch 323/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2981 - acc: 0.8777\n",
      "Epoch 324/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2983 - acc: 0.8765\n",
      "Epoch 325/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3011 - acc: 0.8765\n",
      "Epoch 326/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 97us/step - loss: 0.2989 - acc: 0.8754\n",
      "Epoch 327/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2981 - acc: 0.8709\n",
      "Epoch 328/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.3002 - acc: 0.8698\n",
      "Epoch 329/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2983 - acc: 0.8754\n",
      "Epoch 330/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2995 - acc: 0.8732\n",
      "Epoch 331/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2928 - acc: 0.8721\n",
      "Epoch 332/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2938 - acc: 0.8810\n",
      "Epoch 333/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3019 - acc: 0.8754\n",
      "Epoch 334/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2988 - acc: 0.8676\n",
      "Epoch 335/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2941 - acc: 0.8765\n",
      "Epoch 336/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2972 - acc: 0.8743\n",
      "Epoch 337/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3132 - acc: 0.8664\n",
      "Epoch 338/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.3144 - acc: 0.8687\n",
      "Epoch 339/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.3012 - acc: 0.8709\n",
      "Epoch 340/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2997 - acc: 0.8709\n",
      "Epoch 341/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2954 - acc: 0.8799\n",
      "Epoch 342/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2978 - acc: 0.8631\n",
      "Epoch 343/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3082 - acc: 0.8620\n",
      "Epoch 344/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.3031 - acc: 0.8732\n",
      "Epoch 345/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3014 - acc: 0.8642\n",
      "Epoch 346/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2963 - acc: 0.8687\n",
      "Epoch 347/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2900 - acc: 0.8777\n",
      "Epoch 348/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2971 - acc: 0.8822\n",
      "Epoch 349/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2963 - acc: 0.8765\n",
      "Epoch 350/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2927 - acc: 0.8754\n",
      "Epoch 351/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.2899 - acc: 0.8743\n",
      "Epoch 352/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.2897 - acc: 0.8754\n",
      "Epoch 353/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2913 - acc: 0.8765\n",
      "Epoch 354/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2947 - acc: 0.8743\n",
      "Epoch 355/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2956 - acc: 0.8754\n",
      "Epoch 356/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2886 - acc: 0.8777\n",
      "Epoch 357/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2908 - acc: 0.8810\n",
      "Epoch 358/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2951 - acc: 0.8721\n",
      "Epoch 359/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2977 - acc: 0.8721\n",
      "Epoch 360/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.3021 - acc: 0.8653\n",
      "Epoch 361/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2970 - acc: 0.8687\n",
      "Epoch 362/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2921 - acc: 0.8765\n",
      "Epoch 363/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2931 - acc: 0.8732\n",
      "Epoch 364/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2948 - acc: 0.8788\n",
      "Epoch 365/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2941 - acc: 0.8844\n",
      "Epoch 366/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2949 - acc: 0.8799\n",
      "Epoch 367/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2941 - acc: 0.8743\n",
      "Epoch 368/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2965 - acc: 0.8777\n",
      "Epoch 369/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2927 - acc: 0.8698\n",
      "Epoch 370/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2907 - acc: 0.8799\n",
      "Epoch 371/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2905 - acc: 0.8788\n",
      "Epoch 372/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2886 - acc: 0.8754\n",
      "Epoch 373/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2907 - acc: 0.8822\n",
      "Epoch 374/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2893 - acc: 0.8810\n",
      "Epoch 375/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2923 - acc: 0.8844\n",
      "Epoch 376/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2916 - acc: 0.8631\n",
      "Epoch 377/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2909 - acc: 0.8754\n",
      "Epoch 378/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2868 - acc: 0.8754\n",
      "Epoch 379/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2912 - acc: 0.8765\n",
      "Epoch 380/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2942 - acc: 0.8833\n",
      "Epoch 381/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2939 - acc: 0.8765\n",
      "Epoch 382/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2922 - acc: 0.8788\n",
      "Epoch 383/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2942 - acc: 0.8777\n",
      "Epoch 384/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2943 - acc: 0.8676\n",
      "Epoch 385/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2885 - acc: 0.8810\n",
      "Epoch 386/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2928 - acc: 0.8709\n",
      "Epoch 387/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2915 - acc: 0.8765\n",
      "Epoch 388/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3043 - acc: 0.8597\n",
      "Epoch 389/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2995 - acc: 0.8721\n",
      "Epoch 390/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2991 - acc: 0.8754\n",
      "Epoch 391/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2936 - acc: 0.8765\n",
      "Epoch 392/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.3065 - acc: 0.8743\n",
      "Epoch 393/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3131 - acc: 0.8732\n",
      "Epoch 394/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2986 - acc: 0.8687\n",
      "Epoch 395/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.3007 - acc: 0.8620\n",
      "Epoch 396/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2880 - acc: 0.8732\n",
      "Epoch 397/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2953 - acc: 0.8799\n",
      "Epoch 398/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2949 - acc: 0.8732\n",
      "Epoch 399/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2860 - acc: 0.8765\n",
      "Epoch 400/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2933 - acc: 0.8754\n",
      "Epoch 401/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2949 - acc: 0.8810\n",
      "Epoch 402/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2895 - acc: 0.8765\n",
      "Epoch 403/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2896 - acc: 0.8822\n",
      "Epoch 404/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2896 - acc: 0.8844\n",
      "Epoch 405/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2925 - acc: 0.8788\n",
      "Epoch 406/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2881 - acc: 0.8822\n",
      "Epoch 407/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2912 - acc: 0.8754\n",
      "Epoch 408/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2885 - acc: 0.8788\n",
      "Epoch 409/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3007 - acc: 0.8799\n",
      "Epoch 410/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3114 - acc: 0.8698\n",
      "Epoch 411/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2997 - acc: 0.8732\n",
      "Epoch 412/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2909 - acc: 0.8810\n",
      "Epoch 413/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2945 - acc: 0.8698\n",
      "Epoch 414/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2909 - acc: 0.8765\n",
      "Epoch 415/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2845 - acc: 0.8810\n",
      "Epoch 416/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2869 - acc: 0.8788\n",
      "Epoch 417/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2899 - acc: 0.8799\n",
      "Epoch 418/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2918 - acc: 0.8844\n",
      "Epoch 419/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2858 - acc: 0.8743\n",
      "Epoch 420/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2848 - acc: 0.8810\n",
      "Epoch 421/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2851 - acc: 0.8754\n",
      "Epoch 422/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2900 - acc: 0.8687\n",
      "Epoch 423/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2901 - acc: 0.8844\n",
      "Epoch 424/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2838 - acc: 0.8844\n",
      "Epoch 425/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2857 - acc: 0.8799\n",
      "Epoch 426/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2847 - acc: 0.8799\n",
      "Epoch 427/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2851 - acc: 0.8822\n",
      "Epoch 428/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2955 - acc: 0.8754\n",
      "Epoch 429/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2959 - acc: 0.8833\n",
      "Epoch 430/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2878 - acc: 0.8799\n",
      "Epoch 431/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2877 - acc: 0.8833\n",
      "Epoch 432/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2932 - acc: 0.8721\n",
      "Epoch 433/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2861 - acc: 0.8810\n",
      "Epoch 434/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2868 - acc: 0.8754\n",
      "Epoch 435/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2982 - acc: 0.8777\n",
      "Epoch 436/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2976 - acc: 0.8664\n",
      "Epoch 437/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2900 - acc: 0.8721\n",
      "Epoch 438/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3048 - acc: 0.8709\n",
      "Epoch 439/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2907 - acc: 0.8743\n",
      "Epoch 440/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2998 - acc: 0.8653\n",
      "Epoch 441/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2863 - acc: 0.8788\n",
      "Epoch 442/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2934 - acc: 0.8721\n",
      "Epoch 443/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2861 - acc: 0.8822\n",
      "Epoch 444/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3425 - acc: 0.8631\n",
      "Epoch 445/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.3358 - acc: 0.8485\n",
      "Epoch 446/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.3147 - acc: 0.8586\n",
      "Epoch 447/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.3180 - acc: 0.8676\n",
      "Epoch 448/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2945 - acc: 0.8765\n",
      "Epoch 449/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2949 - acc: 0.8732\n",
      "Epoch 450/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2875 - acc: 0.8833\n",
      "Epoch 451/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2871 - acc: 0.8777\n",
      "Epoch 452/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2865 - acc: 0.8810\n",
      "Epoch 453/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2893 - acc: 0.8754\n",
      "Epoch 454/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2863 - acc: 0.8810\n",
      "Epoch 455/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2848 - acc: 0.8833\n",
      "Epoch 456/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2924 - acc: 0.8799\n",
      "Epoch 457/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2808 - acc: 0.8810\n",
      "Epoch 458/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2861 - acc: 0.8788\n",
      "Epoch 459/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2868 - acc: 0.8833\n",
      "Epoch 460/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.3084 - acc: 0.8676\n",
      "Epoch 461/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.3222 - acc: 0.8631\n",
      "Epoch 462/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2954 - acc: 0.8743\n",
      "Epoch 463/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2889 - acc: 0.8844\n",
      "Epoch 464/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2848 - acc: 0.8844\n",
      "Epoch 465/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2866 - acc: 0.8833\n",
      "Epoch 466/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2879 - acc: 0.8765\n",
      "Epoch 467/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2850 - acc: 0.8822\n",
      "Epoch 468/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2900 - acc: 0.8822\n",
      "Epoch 469/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2897 - acc: 0.8777\n",
      "Epoch 470/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2863 - acc: 0.8822\n",
      "Epoch 471/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2835 - acc: 0.8833\n",
      "Epoch 472/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2879 - acc: 0.8765\n",
      "Epoch 473/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2843 - acc: 0.8822\n",
      "Epoch 474/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2873 - acc: 0.8799\n",
      "Epoch 475/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2855 - acc: 0.8765\n",
      "Epoch 476/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2862 - acc: 0.8833\n",
      "Epoch 477/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2858 - acc: 0.8777\n",
      "Epoch 478/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2874 - acc: 0.8777\n",
      "Epoch 479/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2814 - acc: 0.8822\n",
      "Epoch 480/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2809 - acc: 0.8765\n",
      "Epoch 481/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2840 - acc: 0.8844\n",
      "Epoch 482/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2855 - acc: 0.8822\n",
      "Epoch 483/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2822 - acc: 0.8754\n",
      "Epoch 484/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2909 - acc: 0.8754\n",
      "Epoch 485/2000\n",
      "891/891 [==============================] - 0s 89us/step - loss: 0.2836 - acc: 0.8788\n",
      "Epoch 486/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2874 - acc: 0.8810\n",
      "Epoch 487/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2945 - acc: 0.8799\n",
      "Epoch 488/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 96us/step - loss: 0.2848 - acc: 0.8743\n",
      "Epoch 489/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2855 - acc: 0.8788\n",
      "Epoch 490/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2882 - acc: 0.8765\n",
      "Epoch 491/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2912 - acc: 0.8754\n",
      "Epoch 492/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2847 - acc: 0.8844\n",
      "Epoch 493/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2862 - acc: 0.8732\n",
      "Epoch 494/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2814 - acc: 0.8799\n",
      "Epoch 495/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3025 - acc: 0.8743\n",
      "Epoch 496/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2927 - acc: 0.8743\n",
      "Epoch 497/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2831 - acc: 0.8799\n",
      "Epoch 498/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2864 - acc: 0.8788\n",
      "Epoch 499/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2847 - acc: 0.8788\n",
      "Epoch 500/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2899 - acc: 0.8833\n",
      "Epoch 501/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2870 - acc: 0.8754\n",
      "Epoch 502/2000\n",
      "891/891 [==============================] - 0s 123us/step - loss: 0.2830 - acc: 0.8810\n",
      "Epoch 503/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2864 - acc: 0.8777\n",
      "Epoch 504/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2845 - acc: 0.8934\n",
      "Epoch 505/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2910 - acc: 0.8721\n",
      "Epoch 506/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2815 - acc: 0.8810\n",
      "Epoch 507/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2911 - acc: 0.8833\n",
      "Epoch 508/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2910 - acc: 0.8822\n",
      "Epoch 509/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2928 - acc: 0.8698\n",
      "Epoch 510/2000\n",
      "891/891 [==============================] - 0s 131us/step - loss: 0.2811 - acc: 0.8833\n",
      "Epoch 511/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2825 - acc: 0.8878\n",
      "Epoch 512/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2904 - acc: 0.8765\n",
      "Epoch 513/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2887 - acc: 0.8777\n",
      "Epoch 514/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.3375 - acc: 0.8687\n",
      "Epoch 515/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.3434 - acc: 0.8530\n",
      "Epoch 516/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2937 - acc: 0.8754\n",
      "Epoch 517/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2921 - acc: 0.8754\n",
      "Epoch 518/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2833 - acc: 0.8799\n",
      "Epoch 519/2000\n",
      "891/891 [==============================] - 0s 143us/step - loss: 0.2824 - acc: 0.8822\n",
      "Epoch 520/2000\n",
      "891/891 [==============================] - 0s 123us/step - loss: 0.2808 - acc: 0.8833\n",
      "Epoch 521/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2842 - acc: 0.8844\n",
      "Epoch 522/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2896 - acc: 0.8777\n",
      "Epoch 523/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2788 - acc: 0.8810\n",
      "Epoch 524/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2815 - acc: 0.8833\n",
      "Epoch 525/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2846 - acc: 0.8788\n",
      "Epoch 526/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2836 - acc: 0.8765\n",
      "Epoch 527/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2830 - acc: 0.8833\n",
      "Epoch 528/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2821 - acc: 0.8833\n",
      "Epoch 529/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2843 - acc: 0.8822\n",
      "Epoch 530/2000\n",
      "891/891 [==============================] - 0s 128us/step - loss: 0.2839 - acc: 0.8822\n",
      "Epoch 531/2000\n",
      "891/891 [==============================] - 0s 137us/step - loss: 0.2777 - acc: 0.8855\n",
      "Epoch 532/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2908 - acc: 0.8754\n",
      "Epoch 533/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2794 - acc: 0.8788\n",
      "Epoch 534/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2859 - acc: 0.8833\n",
      "Epoch 535/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2809 - acc: 0.8822\n",
      "Epoch 536/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2861 - acc: 0.8788\n",
      "Epoch 537/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2877 - acc: 0.8664\n",
      "Epoch 538/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2877 - acc: 0.8721\n",
      "Epoch 539/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2817 - acc: 0.8822\n",
      "Epoch 540/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2780 - acc: 0.8822\n",
      "Epoch 541/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2841 - acc: 0.8844\n",
      "Epoch 542/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2786 - acc: 0.8844\n",
      "Epoch 543/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2812 - acc: 0.8855\n",
      "Epoch 544/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2832 - acc: 0.8788\n",
      "Epoch 545/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2849 - acc: 0.8844\n",
      "Epoch 546/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2831 - acc: 0.8855\n",
      "Epoch 547/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2862 - acc: 0.8788\n",
      "Epoch 548/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2794 - acc: 0.8765\n",
      "Epoch 549/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2814 - acc: 0.8732\n",
      "Epoch 550/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2773 - acc: 0.8822\n",
      "Epoch 551/2000\n",
      "891/891 [==============================] - 0s 117us/step - loss: 0.2796 - acc: 0.8822\n",
      "Epoch 552/2000\n",
      "891/891 [==============================] - 0s 129us/step - loss: 0.2826 - acc: 0.8833\n",
      "Epoch 553/2000\n",
      "891/891 [==============================] - 0s 122us/step - loss: 0.2796 - acc: 0.8855\n",
      "Epoch 554/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2802 - acc: 0.8855\n",
      "Epoch 555/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.2844 - acc: 0.8822\n",
      "Epoch 556/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2782 - acc: 0.8833\n",
      "Epoch 557/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2837 - acc: 0.8732\n",
      "Epoch 558/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2827 - acc: 0.8822\n",
      "Epoch 559/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2837 - acc: 0.8822\n",
      "Epoch 560/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2803 - acc: 0.8799\n",
      "Epoch 561/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2815 - acc: 0.8799\n",
      "Epoch 562/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2803 - acc: 0.8855\n",
      "Epoch 563/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2852 - acc: 0.8810\n",
      "Epoch 564/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2911 - acc: 0.8721\n",
      "Epoch 565/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2895 - acc: 0.8765\n",
      "Epoch 566/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2835 - acc: 0.8754\n",
      "Epoch 567/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2929 - acc: 0.8777\n",
      "Epoch 568/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2831 - acc: 0.8777\n",
      "Epoch 569/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2823 - acc: 0.8799\n",
      "Epoch 570/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2834 - acc: 0.8777\n",
      "Epoch 571/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2895 - acc: 0.8777\n",
      "Epoch 572/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2788 - acc: 0.8822\n",
      "Epoch 573/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2853 - acc: 0.8900\n",
      "Epoch 574/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2821 - acc: 0.8810\n",
      "Epoch 575/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2807 - acc: 0.8810\n",
      "Epoch 576/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2788 - acc: 0.8822\n",
      "Epoch 577/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2808 - acc: 0.8788\n",
      "Epoch 578/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2817 - acc: 0.8743\n",
      "Epoch 579/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2814 - acc: 0.8822\n",
      "Epoch 580/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2803 - acc: 0.8799\n",
      "Epoch 581/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2849 - acc: 0.8799\n",
      "Epoch 582/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2792 - acc: 0.8765\n",
      "Epoch 583/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2793 - acc: 0.8833\n",
      "Epoch 584/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2821 - acc: 0.8799\n",
      "Epoch 585/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2806 - acc: 0.8777\n",
      "Epoch 586/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2889 - acc: 0.8799\n",
      "Epoch 587/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2849 - acc: 0.8799\n",
      "Epoch 588/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2960 - acc: 0.8676\n",
      "Epoch 589/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2831 - acc: 0.8889\n",
      "Epoch 590/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2777 - acc: 0.8945\n",
      "Epoch 591/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2875 - acc: 0.8765\n",
      "Epoch 592/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2829 - acc: 0.8777\n",
      "Epoch 593/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2823 - acc: 0.8799\n",
      "Epoch 594/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2816 - acc: 0.8765\n",
      "Epoch 595/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2800 - acc: 0.8889\n",
      "Epoch 596/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2809 - acc: 0.8833\n",
      "Epoch 597/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2796 - acc: 0.8788\n",
      "Epoch 598/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2781 - acc: 0.8855\n",
      "Epoch 599/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.2781 - acc: 0.8799\n",
      "Epoch 600/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2813 - acc: 0.8777\n",
      "Epoch 601/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2888 - acc: 0.8788\n",
      "Epoch 602/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2837 - acc: 0.8844\n",
      "Epoch 603/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2805 - acc: 0.8844\n",
      "Epoch 604/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2798 - acc: 0.8777\n",
      "Epoch 605/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2772 - acc: 0.8777\n",
      "Epoch 606/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2787 - acc: 0.8777\n",
      "Epoch 607/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2890 - acc: 0.8765\n",
      "Epoch 608/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2822 - acc: 0.8822\n",
      "Epoch 609/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2865 - acc: 0.8911\n",
      "Epoch 610/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2883 - acc: 0.8822\n",
      "Epoch 611/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2783 - acc: 0.8844\n",
      "Epoch 612/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2761 - acc: 0.8822\n",
      "Epoch 613/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2837 - acc: 0.8810\n",
      "Epoch 614/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2812 - acc: 0.8833\n",
      "Epoch 615/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2771 - acc: 0.8810\n",
      "Epoch 616/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2909 - acc: 0.8687\n",
      "Epoch 617/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2828 - acc: 0.8765\n",
      "Epoch 618/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2967 - acc: 0.8754\n",
      "Epoch 619/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2972 - acc: 0.8732\n",
      "Epoch 620/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2979 - acc: 0.8743\n",
      "Epoch 621/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2974 - acc: 0.8687\n",
      "Epoch 622/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2788 - acc: 0.8844\n",
      "Epoch 623/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2827 - acc: 0.8765\n",
      "Epoch 624/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2787 - acc: 0.8878\n",
      "Epoch 625/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2852 - acc: 0.8765\n",
      "Epoch 626/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2848 - acc: 0.8878\n",
      "Epoch 627/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2841 - acc: 0.8765\n",
      "Epoch 628/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2786 - acc: 0.8855\n",
      "Epoch 629/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2800 - acc: 0.8810\n",
      "Epoch 630/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2795 - acc: 0.8709\n",
      "Epoch 631/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2747 - acc: 0.8855\n",
      "Epoch 632/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2769 - acc: 0.8822\n",
      "Epoch 633/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2803 - acc: 0.8810\n",
      "Epoch 634/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2753 - acc: 0.8799\n",
      "Epoch 635/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2767 - acc: 0.8900\n",
      "Epoch 636/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2827 - acc: 0.8788\n",
      "Epoch 637/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2780 - acc: 0.8799\n",
      "Epoch 638/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2749 - acc: 0.8878\n",
      "Epoch 639/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2811 - acc: 0.8810\n",
      "Epoch 640/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2733 - acc: 0.8889\n",
      "Epoch 641/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2851 - acc: 0.8765\n",
      "Epoch 642/2000\n",
      "891/891 [==============================] - 0s 117us/step - loss: 0.2821 - acc: 0.8777\n",
      "Epoch 643/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2870 - acc: 0.8732\n",
      "Epoch 644/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2811 - acc: 0.8765\n",
      "Epoch 645/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2755 - acc: 0.8833\n",
      "Epoch 646/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2755 - acc: 0.8889\n",
      "Epoch 647/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2846 - acc: 0.8855\n",
      "Epoch 648/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2776 - acc: 0.8799\n",
      "Epoch 649/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2804 - acc: 0.8810\n",
      "Epoch 650/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 112us/step - loss: 0.2772 - acc: 0.8833\n",
      "Epoch 651/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2764 - acc: 0.8855\n",
      "Epoch 652/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2817 - acc: 0.8810\n",
      "Epoch 653/2000\n",
      "891/891 [==============================] - 0s 89us/step - loss: 0.2808 - acc: 0.8889\n",
      "Epoch 654/2000\n",
      "891/891 [==============================] - 0s 89us/step - loss: 0.2794 - acc: 0.8754\n",
      "Epoch 655/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2769 - acc: 0.8844\n",
      "Epoch 656/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2745 - acc: 0.8889\n",
      "Epoch 657/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2769 - acc: 0.8844\n",
      "Epoch 658/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2757 - acc: 0.8799\n",
      "Epoch 659/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2844 - acc: 0.8799\n",
      "Epoch 660/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2807 - acc: 0.8844\n",
      "Epoch 661/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2757 - acc: 0.8833\n",
      "Epoch 662/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2790 - acc: 0.8889\n",
      "Epoch 663/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2774 - acc: 0.8844\n",
      "Epoch 664/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2767 - acc: 0.8855\n",
      "Epoch 665/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2760 - acc: 0.8855\n",
      "Epoch 666/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2699 - acc: 0.8878\n",
      "Epoch 667/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2783 - acc: 0.8833\n",
      "Epoch 668/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2809 - acc: 0.8855\n",
      "Epoch 669/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2751 - acc: 0.8878\n",
      "Epoch 670/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2755 - acc: 0.8822\n",
      "Epoch 671/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2774 - acc: 0.8844\n",
      "Epoch 672/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2844 - acc: 0.8765\n",
      "Epoch 673/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2748 - acc: 0.8889\n",
      "Epoch 674/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2713 - acc: 0.8855\n",
      "Epoch 675/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2814 - acc: 0.8833\n",
      "Epoch 676/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2868 - acc: 0.8754\n",
      "Epoch 677/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2777 - acc: 0.8833\n",
      "Epoch 678/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2778 - acc: 0.8866\n",
      "Epoch 679/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2774 - acc: 0.8866\n",
      "Epoch 680/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2794 - acc: 0.8799\n",
      "Epoch 681/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2816 - acc: 0.8810\n",
      "Epoch 682/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2844 - acc: 0.8754\n",
      "Epoch 683/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2761 - acc: 0.8844\n",
      "Epoch 684/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2741 - acc: 0.8844\n",
      "Epoch 685/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2761 - acc: 0.8788\n",
      "Epoch 686/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2766 - acc: 0.8799\n",
      "Epoch 687/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2706 - acc: 0.8822\n",
      "Epoch 688/2000\n",
      "891/891 [==============================] - ETA: 0s - loss: 0.2765 - acc: 0.888 - 0s 101us/step - loss: 0.2740 - acc: 0.8911\n",
      "Epoch 689/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2763 - acc: 0.8855\n",
      "Epoch 690/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2801 - acc: 0.8799\n",
      "Epoch 691/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2832 - acc: 0.8833\n",
      "Epoch 692/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2781 - acc: 0.8833\n",
      "Epoch 693/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2785 - acc: 0.8765\n",
      "Epoch 694/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2755 - acc: 0.8810\n",
      "Epoch 695/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2759 - acc: 0.8833\n",
      "Epoch 696/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2770 - acc: 0.8844\n",
      "Epoch 697/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2796 - acc: 0.8822\n",
      "Epoch 698/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2839 - acc: 0.8889\n",
      "Epoch 699/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2821 - acc: 0.8889\n",
      "Epoch 700/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.3121 - acc: 0.8754\n",
      "Epoch 701/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.3485 - acc: 0.8552\n",
      "Epoch 702/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.3111 - acc: 0.8810\n",
      "Epoch 703/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2818 - acc: 0.8822\n",
      "Epoch 704/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2753 - acc: 0.8810\n",
      "Epoch 705/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2794 - acc: 0.8855\n",
      "Epoch 706/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2806 - acc: 0.8822\n",
      "Epoch 707/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2729 - acc: 0.8934\n",
      "Epoch 708/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2739 - acc: 0.8911\n",
      "Epoch 709/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2787 - acc: 0.8855\n",
      "Epoch 710/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2779 - acc: 0.8878\n",
      "Epoch 711/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2775 - acc: 0.8844\n",
      "Epoch 712/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2772 - acc: 0.8810\n",
      "Epoch 713/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2753 - acc: 0.8844\n",
      "Epoch 714/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2861 - acc: 0.8687\n",
      "Epoch 715/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2748 - acc: 0.8855\n",
      "Epoch 716/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2750 - acc: 0.8855\n",
      "Epoch 717/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2715 - acc: 0.8889\n",
      "Epoch 718/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2748 - acc: 0.9001\n",
      "Epoch 719/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2767 - acc: 0.8822\n",
      "Epoch 720/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2754 - acc: 0.8855\n",
      "Epoch 721/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2730 - acc: 0.8844\n",
      "Epoch 722/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2734 - acc: 0.8866\n",
      "Epoch 723/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2717 - acc: 0.8911\n",
      "Epoch 724/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2759 - acc: 0.8844\n",
      "Epoch 725/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2757 - acc: 0.8866\n",
      "Epoch 726/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2739 - acc: 0.8788\n",
      "Epoch 727/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2757 - acc: 0.8900\n",
      "Epoch 728/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2780 - acc: 0.8878\n",
      "Epoch 729/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2781 - acc: 0.8844\n",
      "Epoch 730/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2824 - acc: 0.8889\n",
      "Epoch 731/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2841 - acc: 0.8709\n",
      "Epoch 732/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2724 - acc: 0.8866\n",
      "Epoch 733/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.2764 - acc: 0.8979\n",
      "Epoch 734/2000\n",
      "891/891 [==============================] - 0s 123us/step - loss: 0.2711 - acc: 0.8799\n",
      "Epoch 735/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2722 - acc: 0.8889\n",
      "Epoch 736/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2780 - acc: 0.8900\n",
      "Epoch 737/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.2702 - acc: 0.8900\n",
      "Epoch 738/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2766 - acc: 0.8878\n",
      "Epoch 739/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2742 - acc: 0.8844\n",
      "Epoch 740/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2730 - acc: 0.8979\n",
      "Epoch 741/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2796 - acc: 0.8833\n",
      "Epoch 742/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2735 - acc: 0.8866\n",
      "Epoch 743/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2753 - acc: 0.8889\n",
      "Epoch 744/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2701 - acc: 0.8934\n",
      "Epoch 745/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2757 - acc: 0.8878\n",
      "Epoch 746/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2779 - acc: 0.8866\n",
      "Epoch 747/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2804 - acc: 0.8799\n",
      "Epoch 748/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2733 - acc: 0.8822\n",
      "Epoch 749/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2708 - acc: 0.8810\n",
      "Epoch 750/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2713 - acc: 0.8855\n",
      "Epoch 751/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2727 - acc: 0.8833\n",
      "Epoch 752/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2789 - acc: 0.8799\n",
      "Epoch 753/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2772 - acc: 0.8878\n",
      "Epoch 754/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2745 - acc: 0.8911\n",
      "Epoch 755/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2717 - acc: 0.8889\n",
      "Epoch 756/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2773 - acc: 0.8866\n",
      "Epoch 757/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2719 - acc: 0.8855\n",
      "Epoch 758/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2720 - acc: 0.8833\n",
      "Epoch 759/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2792 - acc: 0.8878\n",
      "Epoch 760/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2961 - acc: 0.8855\n",
      "Epoch 761/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.3063 - acc: 0.8765\n",
      "Epoch 762/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2793 - acc: 0.8855\n",
      "Epoch 763/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2731 - acc: 0.8833\n",
      "Epoch 764/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2713 - acc: 0.8889\n",
      "Epoch 765/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2748 - acc: 0.8777\n",
      "Epoch 766/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2747 - acc: 0.8911\n",
      "Epoch 767/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2696 - acc: 0.8878\n",
      "Epoch 768/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2771 - acc: 0.8911\n",
      "Epoch 769/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2807 - acc: 0.8822\n",
      "Epoch 770/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2696 - acc: 0.8889\n",
      "Epoch 771/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2699 - acc: 0.8844\n",
      "Epoch 772/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2724 - acc: 0.8911\n",
      "Epoch 773/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2707 - acc: 0.8855\n",
      "Epoch 774/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2858 - acc: 0.8799\n",
      "Epoch 775/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2723 - acc: 0.8833\n",
      "Epoch 776/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2668 - acc: 0.8844\n",
      "Epoch 777/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2711 - acc: 0.8844\n",
      "Epoch 778/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2681 - acc: 0.8866\n",
      "Epoch 779/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2687 - acc: 0.8990\n",
      "Epoch 780/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2678 - acc: 0.8889\n",
      "Epoch 781/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2694 - acc: 0.8923\n",
      "Epoch 782/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2660 - acc: 0.8878\n",
      "Epoch 783/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2710 - acc: 0.8889\n",
      "Epoch 784/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2750 - acc: 0.8855\n",
      "Epoch 785/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2692 - acc: 0.8889\n",
      "Epoch 786/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2820 - acc: 0.8765\n",
      "Epoch 787/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2722 - acc: 0.8855\n",
      "Epoch 788/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2752 - acc: 0.8833\n",
      "Epoch 789/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2728 - acc: 0.8911\n",
      "Epoch 790/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2687 - acc: 0.8889\n",
      "Epoch 791/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2742 - acc: 0.8889\n",
      "Epoch 792/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2751 - acc: 0.8844\n",
      "Epoch 793/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2819 - acc: 0.8777\n",
      "Epoch 794/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2857 - acc: 0.8676\n",
      "Epoch 795/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2793 - acc: 0.8788\n",
      "Epoch 796/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2693 - acc: 0.8822\n",
      "Epoch 797/2000\n",
      "891/891 [==============================] - 0s 124us/step - loss: 0.2711 - acc: 0.8855\n",
      "Epoch 798/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2700 - acc: 0.8822\n",
      "Epoch 799/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2679 - acc: 0.8878 0s - loss: 0.2591 - acc: 0.891\n",
      "Epoch 800/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2852 - acc: 0.8799\n",
      "Epoch 801/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2693 - acc: 0.8911\n",
      "Epoch 802/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2730 - acc: 0.8833\n",
      "Epoch 803/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2689 - acc: 0.8900\n",
      "Epoch 804/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2756 - acc: 0.8810\n",
      "Epoch 805/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2715 - acc: 0.8889\n",
      "Epoch 806/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2727 - acc: 0.8777\n",
      "Epoch 807/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2728 - acc: 0.8833\n",
      "Epoch 808/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2690 - acc: 0.8878\n",
      "Epoch 809/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2680 - acc: 0.8900\n",
      "Epoch 810/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2652 - acc: 0.8911\n",
      "Epoch 811/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2925 - acc: 0.8810\n",
      "Epoch 812/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 103us/step - loss: 0.2740 - acc: 0.8866\n",
      "Epoch 813/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2734 - acc: 0.8833\n",
      "Epoch 814/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2667 - acc: 0.8855\n",
      "Epoch 815/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2725 - acc: 0.8866\n",
      "Epoch 816/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2755 - acc: 0.8911\n",
      "Epoch 817/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2709 - acc: 0.8878\n",
      "Epoch 818/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2677 - acc: 0.8855\n",
      "Epoch 819/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2734 - acc: 0.8911\n",
      "Epoch 820/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2744 - acc: 0.8878\n",
      "Epoch 821/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2723 - acc: 0.8833\n",
      "Epoch 822/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2672 - acc: 0.8889\n",
      "Epoch 823/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2711 - acc: 0.8855\n",
      "Epoch 824/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2711 - acc: 0.8934\n",
      "Epoch 825/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2678 - acc: 0.8934\n",
      "Epoch 826/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2734 - acc: 0.8810\n",
      "Epoch 827/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2701 - acc: 0.8900\n",
      "Epoch 828/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2730 - acc: 0.8923\n",
      "Epoch 829/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2732 - acc: 0.8956\n",
      "Epoch 830/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2742 - acc: 0.8833\n",
      "Epoch 831/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2754 - acc: 0.8855\n",
      "Epoch 832/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2730 - acc: 0.8844\n",
      "Epoch 833/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2688 - acc: 0.8889\n",
      "Epoch 834/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2637 - acc: 0.8967\n",
      "Epoch 835/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2652 - acc: 0.8878\n",
      "Epoch 836/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2755 - acc: 0.8866\n",
      "Epoch 837/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2812 - acc: 0.8788\n",
      "Epoch 838/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2893 - acc: 0.8788\n",
      "Epoch 839/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.3012 - acc: 0.8732\n",
      "Epoch 840/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2854 - acc: 0.8844\n",
      "Epoch 841/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2819 - acc: 0.8788\n",
      "Epoch 842/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2708 - acc: 0.8866\n",
      "Epoch 843/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2786 - acc: 0.8777\n",
      "Epoch 844/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2714 - acc: 0.8855\n",
      "Epoch 845/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2688 - acc: 0.8866\n",
      "Epoch 846/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2662 - acc: 0.8900\n",
      "Epoch 847/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2709 - acc: 0.8878\n",
      "Epoch 848/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2712 - acc: 0.8855\n",
      "Epoch 849/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2746 - acc: 0.8777\n",
      "Epoch 850/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2694 - acc: 0.8923\n",
      "Epoch 851/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2697 - acc: 0.8866\n",
      "Epoch 852/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2663 - acc: 0.8844\n",
      "Epoch 853/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2690 - acc: 0.8979\n",
      "Epoch 854/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2648 - acc: 0.8934\n",
      "Epoch 855/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2677 - acc: 0.8934\n",
      "Epoch 856/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2661 - acc: 0.8878\n",
      "Epoch 857/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2658 - acc: 0.8866\n",
      "Epoch 858/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2656 - acc: 0.8923\n",
      "Epoch 859/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2682 - acc: 0.8923\n",
      "Epoch 860/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2661 - acc: 0.8878\n",
      "Epoch 861/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2685 - acc: 0.8889\n",
      "Epoch 862/2000\n",
      "891/891 [==============================] - 0s 126us/step - loss: 0.2678 - acc: 0.8866\n",
      "Epoch 863/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2633 - acc: 0.8844\n",
      "Epoch 864/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2681 - acc: 0.8900\n",
      "Epoch 865/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2652 - acc: 0.8956\n",
      "Epoch 866/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2740 - acc: 0.8855\n",
      "Epoch 867/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2684 - acc: 0.8911\n",
      "Epoch 868/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2640 - acc: 0.8855\n",
      "Epoch 869/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2655 - acc: 0.8889\n",
      "Epoch 870/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2706 - acc: 0.8855\n",
      "Epoch 871/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2640 - acc: 0.8844\n",
      "Epoch 872/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2644 - acc: 0.8979\n",
      "Epoch 873/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2721 - acc: 0.8934\n",
      "Epoch 874/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2820 - acc: 0.8788\n",
      "Epoch 875/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2856 - acc: 0.8799\n",
      "Epoch 876/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2651 - acc: 0.8866\n",
      "Epoch 877/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2638 - acc: 0.8923\n",
      "Epoch 878/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2646 - acc: 0.8923\n",
      "Epoch 879/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2666 - acc: 0.8923\n",
      "Epoch 880/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2661 - acc: 0.8878\n",
      "Epoch 881/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2725 - acc: 0.8855\n",
      "Epoch 882/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2622 - acc: 0.8956\n",
      "Epoch 883/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2690 - acc: 0.8923\n",
      "Epoch 884/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2653 - acc: 0.8889\n",
      "Epoch 885/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2688 - acc: 0.8788\n",
      "Epoch 886/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2685 - acc: 0.8911\n",
      "Epoch 887/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2684 - acc: 0.8934\n",
      "Epoch 888/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2682 - acc: 0.8810\n",
      "Epoch 889/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2637 - acc: 0.8844\n",
      "Epoch 890/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2779 - acc: 0.8788\n",
      "Epoch 891/2000\n",
      "891/891 [==============================] - 0s 120us/step - loss: 0.2639 - acc: 0.8945\n",
      "Epoch 892/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2705 - acc: 0.8889\n",
      "Epoch 893/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2626 - acc: 0.8900\n",
      "Epoch 894/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2645 - acc: 0.8923\n",
      "Epoch 895/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2753 - acc: 0.8878\n",
      "Epoch 896/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2684 - acc: 0.8833\n",
      "Epoch 897/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2631 - acc: 0.8967\n",
      "Epoch 898/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2767 - acc: 0.8844\n",
      "Epoch 899/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2695 - acc: 0.8889\n",
      "Epoch 900/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2618 - acc: 0.8923\n",
      "Epoch 901/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2705 - acc: 0.8866\n",
      "Epoch 902/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2799 - acc: 0.8777\n",
      "Epoch 903/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2617 - acc: 0.8855\n",
      "Epoch 904/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2628 - acc: 0.8911\n",
      "Epoch 905/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2641 - acc: 0.8844\n",
      "Epoch 906/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2632 - acc: 0.8878\n",
      "Epoch 907/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2712 - acc: 0.8878\n",
      "Epoch 908/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2644 - acc: 0.8945\n",
      "Epoch 909/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2686 - acc: 0.8956\n",
      "Epoch 910/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2659 - acc: 0.8900\n",
      "Epoch 911/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2618 - acc: 0.8900\n",
      "Epoch 912/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2658 - acc: 0.8900\n",
      "Epoch 913/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2704 - acc: 0.8810\n",
      "Epoch 914/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2732 - acc: 0.8844\n",
      "Epoch 915/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2713 - acc: 0.8866\n",
      "Epoch 916/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2675 - acc: 0.8799\n",
      "Epoch 917/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2652 - acc: 0.8900\n",
      "Epoch 918/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2648 - acc: 0.8844\n",
      "Epoch 919/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.2641 - acc: 0.8923\n",
      "Epoch 920/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2650 - acc: 0.8810\n",
      "Epoch 921/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2650 - acc: 0.8866\n",
      "Epoch 922/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2646 - acc: 0.8878\n",
      "Epoch 923/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2633 - acc: 0.8934\n",
      "Epoch 924/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2610 - acc: 0.8923\n",
      "Epoch 925/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2646 - acc: 0.8844\n",
      "Epoch 926/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2666 - acc: 0.8844\n",
      "Epoch 927/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2655 - acc: 0.8855\n",
      "Epoch 928/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2665 - acc: 0.8889\n",
      "Epoch 929/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2604 - acc: 0.8911\n",
      "Epoch 930/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2647 - acc: 0.8979\n",
      "Epoch 931/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2766 - acc: 0.8855\n",
      "Epoch 932/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2654 - acc: 0.8945\n",
      "Epoch 933/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2653 - acc: 0.8866\n",
      "Epoch 934/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2628 - acc: 0.8866\n",
      "Epoch 935/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2645 - acc: 0.8945\n",
      "Epoch 936/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2752 - acc: 0.8844\n",
      "Epoch 937/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2776 - acc: 0.8822\n",
      "Epoch 938/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2706 - acc: 0.8900\n",
      "Epoch 939/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2626 - acc: 0.8923\n",
      "Epoch 940/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2579 - acc: 0.8923\n",
      "Epoch 941/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2667 - acc: 0.8900\n",
      "Epoch 942/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2636 - acc: 0.8934\n",
      "Epoch 943/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2621 - acc: 0.8889\n",
      "Epoch 944/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2713 - acc: 0.8889\n",
      "Epoch 945/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2656 - acc: 0.8855\n",
      "Epoch 946/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.3149 - acc: 0.8743\n",
      "Epoch 947/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2922 - acc: 0.8822\n",
      "Epoch 948/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2660 - acc: 0.8889\n",
      "Epoch 949/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2652 - acc: 0.8900\n",
      "Epoch 950/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2613 - acc: 0.8878\n",
      "Epoch 951/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2715 - acc: 0.8945\n",
      "Epoch 952/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2629 - acc: 0.8878\n",
      "Epoch 953/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2598 - acc: 0.8945\n",
      "Epoch 954/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2647 - acc: 0.8911\n",
      "Epoch 955/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2636 - acc: 0.8934\n",
      "Epoch 956/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2668 - acc: 0.8889\n",
      "Epoch 957/2000\n",
      "891/891 [==============================] - 0s 118us/step - loss: 0.2622 - acc: 0.8900\n",
      "Epoch 958/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2628 - acc: 0.8911\n",
      "Epoch 959/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2602 - acc: 0.8900\n",
      "Epoch 960/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2611 - acc: 0.8934\n",
      "Epoch 961/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2664 - acc: 0.8878\n",
      "Epoch 962/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2621 - acc: 0.8967\n",
      "Epoch 963/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2616 - acc: 0.8889\n",
      "Epoch 964/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2610 - acc: 0.8911\n",
      "Epoch 965/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2645 - acc: 0.8833\n",
      "Epoch 966/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2634 - acc: 0.8866\n",
      "Epoch 967/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2661 - acc: 0.8990\n",
      "Epoch 968/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2642 - acc: 0.8934\n",
      "Epoch 969/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2588 - acc: 0.8911\n",
      "Epoch 970/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2690 - acc: 0.8822\n",
      "Epoch 971/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2681 - acc: 0.8956\n",
      "Epoch 972/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2656 - acc: 0.8855\n",
      "Epoch 973/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2776 - acc: 0.8889\n",
      "Epoch 974/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 97us/step - loss: 0.2648 - acc: 0.8822\n",
      "Epoch 975/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2605 - acc: 0.8911\n",
      "Epoch 976/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2606 - acc: 0.8889\n",
      "Epoch 977/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2654 - acc: 0.8866\n",
      "Epoch 978/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2673 - acc: 0.8878\n",
      "Epoch 979/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2638 - acc: 0.8934\n",
      "Epoch 980/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2595 - acc: 0.8967\n",
      "Epoch 981/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2643 - acc: 0.8810\n",
      "Epoch 982/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2599 - acc: 0.8923\n",
      "Epoch 983/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2662 - acc: 0.8889\n",
      "Epoch 984/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2659 - acc: 0.8911\n",
      "Epoch 985/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2599 - acc: 0.8900\n",
      "Epoch 986/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2601 - acc: 0.8911\n",
      "Epoch 987/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2604 - acc: 0.8911\n",
      "Epoch 988/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2626 - acc: 0.8945\n",
      "Epoch 989/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2659 - acc: 0.8911\n",
      "Epoch 990/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2616 - acc: 0.8945\n",
      "Epoch 991/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2583 - acc: 0.8900\n",
      "Epoch 992/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2611 - acc: 0.8967\n",
      "Epoch 993/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2624 - acc: 0.8911\n",
      "Epoch 994/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2653 - acc: 0.8878\n",
      "Epoch 995/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2934 - acc: 0.8709\n",
      "Epoch 996/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2674 - acc: 0.8923\n",
      "Epoch 997/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2687 - acc: 0.8878\n",
      "Epoch 998/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2745 - acc: 0.8855\n",
      "Epoch 999/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2847 - acc: 0.8822\n",
      "Epoch 1000/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.3403 - acc: 0.8732\n",
      "Epoch 1001/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2805 - acc: 0.8799\n",
      "Epoch 1002/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2764 - acc: 0.8866\n",
      "Epoch 1003/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2949 - acc: 0.8810\n",
      "Epoch 1004/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2626 - acc: 0.8923\n",
      "Epoch 1005/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2681 - acc: 0.8889\n",
      "Epoch 1006/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2714 - acc: 0.8833\n",
      "Epoch 1007/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2607 - acc: 0.9012\n",
      "Epoch 1008/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2651 - acc: 0.8934\n",
      "Epoch 1009/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2609 - acc: 0.8934\n",
      "Epoch 1010/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2569 - acc: 0.8956\n",
      "Epoch 1011/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2598 - acc: 0.8923\n",
      "Epoch 1012/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2569 - acc: 0.8956\n",
      "Epoch 1013/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2698 - acc: 0.8911\n",
      "Epoch 1014/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2752 - acc: 0.8799\n",
      "Epoch 1015/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2595 - acc: 0.8967\n",
      "Epoch 1016/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2580 - acc: 0.8934\n",
      "Epoch 1017/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2585 - acc: 0.8990\n",
      "Epoch 1018/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2650 - acc: 0.8900\n",
      "Epoch 1019/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2590 - acc: 0.8934\n",
      "Epoch 1020/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2662 - acc: 0.8934\n",
      "Epoch 1021/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2602 - acc: 0.8900\n",
      "Epoch 1022/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2585 - acc: 0.8967\n",
      "Epoch 1023/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2612 - acc: 0.8855\n",
      "Epoch 1024/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2647 - acc: 0.8889\n",
      "Epoch 1025/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2570 - acc: 0.8911\n",
      "Epoch 1026/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2577 - acc: 0.8956\n",
      "Epoch 1027/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2603 - acc: 0.8945\n",
      "Epoch 1028/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2579 - acc: 0.8956\n",
      "Epoch 1029/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2595 - acc: 0.8923\n",
      "Epoch 1030/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2537 - acc: 0.8967\n",
      "Epoch 1031/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2658 - acc: 0.8878\n",
      "Epoch 1032/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2583 - acc: 0.8979\n",
      "Epoch 1033/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2584 - acc: 0.8956\n",
      "Epoch 1034/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2575 - acc: 0.8911\n",
      "Epoch 1035/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2592 - acc: 0.8979\n",
      "Epoch 1036/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2567 - acc: 0.8900\n",
      "Epoch 1037/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2587 - acc: 0.8923\n",
      "Epoch 1038/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2625 - acc: 0.8911\n",
      "Epoch 1039/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2702 - acc: 0.8878\n",
      "Epoch 1040/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2628 - acc: 0.8945\n",
      "Epoch 1041/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2567 - acc: 0.8934\n",
      "Epoch 1042/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2603 - acc: 0.8911\n",
      "Epoch 1043/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2602 - acc: 0.8911\n",
      "Epoch 1044/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2551 - acc: 0.8990\n",
      "Epoch 1045/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2592 - acc: 0.8866\n",
      "Epoch 1046/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2542 - acc: 0.8911\n",
      "Epoch 1047/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2615 - acc: 0.8911\n",
      "Epoch 1048/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2599 - acc: 0.8979\n",
      "Epoch 1049/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2585 - acc: 0.8900\n",
      "Epoch 1050/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2560 - acc: 0.8889\n",
      "Epoch 1051/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2608 - acc: 0.8979\n",
      "Epoch 1052/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2566 - acc: 0.8956\n",
      "Epoch 1053/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2580 - acc: 0.8833\n",
      "Epoch 1054/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2720 - acc: 0.8844\n",
      "Epoch 1055/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2932 - acc: 0.8664\n",
      "Epoch 1056/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2982 - acc: 0.8777\n",
      "Epoch 1057/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2778 - acc: 0.8822\n",
      "Epoch 1058/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2615 - acc: 0.8945\n",
      "Epoch 1059/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2577 - acc: 0.8889\n",
      "Epoch 1060/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2663 - acc: 0.8967\n",
      "Epoch 1061/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2578 - acc: 0.8934\n",
      "Epoch 1062/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2629 - acc: 0.8945\n",
      "Epoch 1063/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2585 - acc: 0.8934\n",
      "Epoch 1064/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2626 - acc: 0.9012\n",
      "Epoch 1065/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2625 - acc: 0.8866\n",
      "Epoch 1066/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2605 - acc: 0.8900\n",
      "Epoch 1067/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2604 - acc: 0.8945\n",
      "Epoch 1068/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2630 - acc: 0.8990\n",
      "Epoch 1069/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2570 - acc: 0.8889\n",
      "Epoch 1070/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2606 - acc: 0.9012\n",
      "Epoch 1071/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2551 - acc: 0.8911\n",
      "Epoch 1072/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2581 - acc: 0.8889\n",
      "Epoch 1073/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2590 - acc: 0.8889\n",
      "Epoch 1074/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2529 - acc: 0.8956\n",
      "Epoch 1075/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2554 - acc: 0.8979\n",
      "Epoch 1076/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2578 - acc: 0.8945\n",
      "Epoch 1077/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2587 - acc: 0.9024\n",
      "Epoch 1078/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2571 - acc: 0.8911\n",
      "Epoch 1079/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2580 - acc: 0.8911\n",
      "Epoch 1080/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2595 - acc: 0.9046\n",
      "Epoch 1081/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2541 - acc: 0.8956\n",
      "Epoch 1082/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2598 - acc: 0.8911\n",
      "Epoch 1083/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2590 - acc: 0.8923\n",
      "Epoch 1084/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2588 - acc: 0.8866\n",
      "Epoch 1085/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2669 - acc: 0.8956\n",
      "Epoch 1086/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2539 - acc: 0.9024\n",
      "Epoch 1087/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2578 - acc: 0.8934\n",
      "Epoch 1088/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2566 - acc: 0.8900\n",
      "Epoch 1089/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2638 - acc: 0.8878\n",
      "Epoch 1090/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2534 - acc: 0.9024\n",
      "Epoch 1091/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2554 - acc: 0.8855\n",
      "Epoch 1092/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2632 - acc: 0.8844\n",
      "Epoch 1093/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2686 - acc: 0.8866\n",
      "Epoch 1094/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2688 - acc: 0.8866\n",
      "Epoch 1095/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2634 - acc: 0.8900\n",
      "Epoch 1096/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2626 - acc: 0.8934\n",
      "Epoch 1097/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2620 - acc: 0.8844\n",
      "Epoch 1098/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2583 - acc: 0.8945\n",
      "Epoch 1099/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2582 - acc: 0.8923\n",
      "Epoch 1100/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2587 - acc: 0.8878\n",
      "Epoch 1101/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2561 - acc: 0.8911\n",
      "Epoch 1102/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2562 - acc: 0.8945\n",
      "Epoch 1103/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2537 - acc: 0.8979\n",
      "Epoch 1104/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2524 - acc: 0.8945\n",
      "Epoch 1105/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2538 - acc: 0.8979\n",
      "Epoch 1106/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2550 - acc: 0.8934\n",
      "Epoch 1107/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2610 - acc: 0.8934\n",
      "Epoch 1108/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2552 - acc: 0.8956\n",
      "Epoch 1109/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2571 - acc: 0.8956\n",
      "Epoch 1110/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2608 - acc: 0.8934\n",
      "Epoch 1111/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2537 - acc: 0.8945\n",
      "Epoch 1112/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2694 - acc: 0.8889\n",
      "Epoch 1113/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2610 - acc: 0.8934\n",
      "Epoch 1114/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2560 - acc: 0.8945\n",
      "Epoch 1115/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2585 - acc: 0.8945\n",
      "Epoch 1116/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2554 - acc: 0.8911\n",
      "Epoch 1117/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2540 - acc: 0.8900\n",
      "Epoch 1118/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2548 - acc: 0.8900\n",
      "Epoch 1119/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2627 - acc: 0.8889\n",
      "Epoch 1120/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2591 - acc: 0.8900\n",
      "Epoch 1121/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2551 - acc: 0.8956\n",
      "Epoch 1122/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2542 - acc: 0.8945\n",
      "Epoch 1123/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2547 - acc: 0.8967\n",
      "Epoch 1124/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2608 - acc: 0.9035\n",
      "Epoch 1125/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2589 - acc: 0.8900\n",
      "Epoch 1126/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2577 - acc: 0.8855\n",
      "Epoch 1127/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2552 - acc: 0.8900\n",
      "Epoch 1128/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2542 - acc: 0.8967\n",
      "Epoch 1129/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2529 - acc: 0.8923\n",
      "Epoch 1130/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2616 - acc: 0.8945\n",
      "Epoch 1131/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2610 - acc: 0.8889\n",
      "Epoch 1132/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2564 - acc: 0.8979\n",
      "Epoch 1133/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2532 - acc: 0.8934\n",
      "Epoch 1134/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2566 - acc: 0.8911\n",
      "Epoch 1135/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2583 - acc: 0.8911\n",
      "Epoch 1136/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 86us/step - loss: 0.2643 - acc: 0.8945\n",
      "Epoch 1137/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2555 - acc: 0.8889\n",
      "Epoch 1138/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2595 - acc: 0.8934\n",
      "Epoch 1139/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2547 - acc: 0.8855\n",
      "Epoch 1140/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2579 - acc: 0.8979\n",
      "Epoch 1141/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2516 - acc: 0.8934\n",
      "Epoch 1142/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2534 - acc: 0.8945\n",
      "Epoch 1143/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2616 - acc: 0.8923\n",
      "Epoch 1144/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2569 - acc: 0.8878\n",
      "Epoch 1145/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2608 - acc: 0.8956\n",
      "Epoch 1146/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2543 - acc: 0.8990\n",
      "Epoch 1147/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2523 - acc: 0.8945\n",
      "Epoch 1148/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2548 - acc: 0.8945\n",
      "Epoch 1149/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2567 - acc: 0.8923\n",
      "Epoch 1150/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2629 - acc: 0.8911\n",
      "Epoch 1151/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2537 - acc: 0.9001\n",
      "Epoch 1152/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2578 - acc: 0.8866\n",
      "Epoch 1153/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2632 - acc: 0.8822\n",
      "Epoch 1154/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2539 - acc: 0.8934\n",
      "Epoch 1155/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2560 - acc: 0.8934\n",
      "Epoch 1156/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2524 - acc: 0.9001\n",
      "Epoch 1157/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2550 - acc: 0.8889\n",
      "Epoch 1158/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2565 - acc: 0.8967\n",
      "Epoch 1159/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2535 - acc: 0.8855\n",
      "Epoch 1160/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2557 - acc: 0.8911\n",
      "Epoch 1161/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2561 - acc: 0.9001\n",
      "Epoch 1162/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2713 - acc: 0.8900\n",
      "Epoch 1163/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2573 - acc: 0.9012\n",
      "Epoch 1164/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2614 - acc: 0.8889\n",
      "Epoch 1165/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2666 - acc: 0.8934\n",
      "Epoch 1166/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2660 - acc: 0.8866\n",
      "Epoch 1167/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2587 - acc: 0.8967\n",
      "Epoch 1168/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2565 - acc: 0.8923\n",
      "Epoch 1169/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2513 - acc: 0.9035\n",
      "Epoch 1170/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2537 - acc: 0.8889\n",
      "Epoch 1171/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2522 - acc: 0.8934\n",
      "Epoch 1172/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2518 - acc: 0.8990\n",
      "Epoch 1173/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2501 - acc: 0.8934\n",
      "Epoch 1174/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2707 - acc: 0.8855\n",
      "Epoch 1175/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2529 - acc: 0.8967\n",
      "Epoch 1176/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2522 - acc: 0.8979\n",
      "Epoch 1177/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2568 - acc: 0.9057\n",
      "Epoch 1178/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2553 - acc: 0.8900\n",
      "Epoch 1179/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2539 - acc: 0.8900\n",
      "Epoch 1180/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2561 - acc: 0.8923\n",
      "Epoch 1181/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2589 - acc: 0.8934\n",
      "Epoch 1182/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2540 - acc: 0.8967\n",
      "Epoch 1183/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2564 - acc: 0.8923\n",
      "Epoch 1184/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2650 - acc: 0.8833\n",
      "Epoch 1185/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2605 - acc: 0.8855\n",
      "Epoch 1186/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2536 - acc: 0.8967\n",
      "Epoch 1187/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2585 - acc: 0.9001\n",
      "Epoch 1188/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2748 - acc: 0.8822\n",
      "Epoch 1189/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2534 - acc: 0.8979\n",
      "Epoch 1190/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2520 - acc: 0.9024\n",
      "Epoch 1191/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2508 - acc: 0.9001\n",
      "Epoch 1192/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2527 - acc: 0.8934\n",
      "Epoch 1193/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2488 - acc: 0.9035\n",
      "Epoch 1194/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2548 - acc: 0.8945\n",
      "Epoch 1195/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2587 - acc: 0.8979\n",
      "Epoch 1196/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2601 - acc: 0.8866\n",
      "Epoch 1197/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2529 - acc: 0.8911\n",
      "Epoch 1198/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2596 - acc: 0.8889\n",
      "Epoch 1199/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2552 - acc: 0.9057\n",
      "Epoch 1200/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2522 - acc: 0.8945\n",
      "Epoch 1201/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2515 - acc: 0.8900\n",
      "Epoch 1202/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2520 - acc: 0.8967\n",
      "Epoch 1203/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2518 - acc: 0.8990\n",
      "Epoch 1204/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2514 - acc: 0.8923\n",
      "Epoch 1205/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2548 - acc: 0.8934\n",
      "Epoch 1206/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2711 - acc: 0.8900\n",
      "Epoch 1207/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.3647 - acc: 0.8721\n",
      "Epoch 1208/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2968 - acc: 0.8777\n",
      "Epoch 1209/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2550 - acc: 0.8934\n",
      "Epoch 1210/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2599 - acc: 0.8900\n",
      "Epoch 1211/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2559 - acc: 0.9001\n",
      "Epoch 1212/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2550 - acc: 0.8934\n",
      "Epoch 1213/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2558 - acc: 0.8956\n",
      "Epoch 1214/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2525 - acc: 0.8967\n",
      "Epoch 1215/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2539 - acc: 0.8923\n",
      "Epoch 1216/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2472 - acc: 0.8900\n",
      "Epoch 1217/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2484 - acc: 0.8979\n",
      "Epoch 1218/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2506 - acc: 0.8967\n",
      "Epoch 1219/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2540 - acc: 0.8934\n",
      "Epoch 1220/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2519 - acc: 0.8979\n",
      "Epoch 1221/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2481 - acc: 0.8990\n",
      "Epoch 1222/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2698 - acc: 0.8844\n",
      "Epoch 1223/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2610 - acc: 0.8923\n",
      "Epoch 1224/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2479 - acc: 0.8967\n",
      "Epoch 1225/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2577 - acc: 0.8900\n",
      "Epoch 1226/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2559 - acc: 0.8979\n",
      "Epoch 1227/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2572 - acc: 0.8878\n",
      "Epoch 1228/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2557 - acc: 0.8911\n",
      "Epoch 1229/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2508 - acc: 0.8923\n",
      "Epoch 1230/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2548 - acc: 0.8934\n",
      "Epoch 1231/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2534 - acc: 0.8900\n",
      "Epoch 1232/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2500 - acc: 0.8945\n",
      "Epoch 1233/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2487 - acc: 0.8945\n",
      "Epoch 1234/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2469 - acc: 0.9024\n",
      "Epoch 1235/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2544 - acc: 0.8878\n",
      "Epoch 1236/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2654 - acc: 0.8866\n",
      "Epoch 1237/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2480 - acc: 0.8990\n",
      "Epoch 1238/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2510 - acc: 0.8945\n",
      "Epoch 1239/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2501 - acc: 0.8945\n",
      "Epoch 1240/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2487 - acc: 0.9035\n",
      "Epoch 1241/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2468 - acc: 0.8990\n",
      "Epoch 1242/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2535 - acc: 0.8855\n",
      "Epoch 1243/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2480 - acc: 0.8990\n",
      "Epoch 1244/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2465 - acc: 0.9012\n",
      "Epoch 1245/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2476 - acc: 0.8923\n",
      "Epoch 1246/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2458 - acc: 0.8990\n",
      "Epoch 1247/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2587 - acc: 0.8900\n",
      "Epoch 1248/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2622 - acc: 0.8911\n",
      "Epoch 1249/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2698 - acc: 0.8866\n",
      "Epoch 1250/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2632 - acc: 0.8866\n",
      "Epoch 1251/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2512 - acc: 0.8956\n",
      "Epoch 1252/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2578 - acc: 0.8979\n",
      "Epoch 1253/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2571 - acc: 0.8956\n",
      "Epoch 1254/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2505 - acc: 0.8979\n",
      "Epoch 1255/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2510 - acc: 0.8945\n",
      "Epoch 1256/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2559 - acc: 0.8990\n",
      "Epoch 1257/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2540 - acc: 0.8911\n",
      "Epoch 1258/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2583 - acc: 0.8878\n",
      "Epoch 1259/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2545 - acc: 0.8934\n",
      "Epoch 1260/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2647 - acc: 0.8923\n",
      "Epoch 1261/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2499 - acc: 0.9001\n",
      "Epoch 1262/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2487 - acc: 0.8990\n",
      "Epoch 1263/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2473 - acc: 0.8945\n",
      "Epoch 1264/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2506 - acc: 0.8956\n",
      "Epoch 1265/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2476 - acc: 0.8990\n",
      "Epoch 1266/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2517 - acc: 0.8967\n",
      "Epoch 1267/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2462 - acc: 0.8967\n",
      "Epoch 1268/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2485 - acc: 0.8956\n",
      "Epoch 1269/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2515 - acc: 0.8967\n",
      "Epoch 1270/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2532 - acc: 0.9012\n",
      "Epoch 1271/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2541 - acc: 0.8866\n",
      "Epoch 1272/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2487 - acc: 0.8979\n",
      "Epoch 1273/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2525 - acc: 0.8956\n",
      "Epoch 1274/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2572 - acc: 0.8934\n",
      "Epoch 1275/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2521 - acc: 0.8956\n",
      "Epoch 1276/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2492 - acc: 0.8956\n",
      "Epoch 1277/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2496 - acc: 0.8911\n",
      "Epoch 1278/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2587 - acc: 0.8900\n",
      "Epoch 1279/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2511 - acc: 0.8900\n",
      "Epoch 1280/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2496 - acc: 0.8934\n",
      "Epoch 1281/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2507 - acc: 0.8979\n",
      "Epoch 1282/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2614 - acc: 0.8833\n",
      "Epoch 1283/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2589 - acc: 0.8945\n",
      "Epoch 1284/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2455 - acc: 0.9012\n",
      "Epoch 1285/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2448 - acc: 0.9012\n",
      "Epoch 1286/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2594 - acc: 0.8911\n",
      "Epoch 1287/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2584 - acc: 0.8900\n",
      "Epoch 1288/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2479 - acc: 0.8956\n",
      "Epoch 1289/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2477 - acc: 0.9001\n",
      "Epoch 1290/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2470 - acc: 0.8911\n",
      "Epoch 1291/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2565 - acc: 0.8900\n",
      "Epoch 1292/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2531 - acc: 0.8911\n",
      "Epoch 1293/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2594 - acc: 0.8979\n",
      "Epoch 1294/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2542 - acc: 0.8956\n",
      "Epoch 1295/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2472 - acc: 0.8945\n",
      "Epoch 1296/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2452 - acc: 0.8967\n",
      "Epoch 1297/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2540 - acc: 0.8945\n",
      "Epoch 1298/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 85us/step - loss: 0.2532 - acc: 0.8934\n",
      "Epoch 1299/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2566 - acc: 0.8911\n",
      "Epoch 1300/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2472 - acc: 0.8967\n",
      "Epoch 1301/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2477 - acc: 0.8967\n",
      "Epoch 1302/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2472 - acc: 0.8945\n",
      "Epoch 1303/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2519 - acc: 0.8934\n",
      "Epoch 1304/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2499 - acc: 0.8934\n",
      "Epoch 1305/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2514 - acc: 0.8967\n",
      "Epoch 1306/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2503 - acc: 0.8900\n",
      "Epoch 1307/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2508 - acc: 0.8889\n",
      "Epoch 1308/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2531 - acc: 0.8889\n",
      "Epoch 1309/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2528 - acc: 0.8990\n",
      "Epoch 1310/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2555 - acc: 0.8934\n",
      "Epoch 1311/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2527 - acc: 0.8945\n",
      "Epoch 1312/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2467 - acc: 0.8945\n",
      "Epoch 1313/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2507 - acc: 0.8945\n",
      "Epoch 1314/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2552 - acc: 0.8911\n",
      "Epoch 1315/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2527 - acc: 0.8956\n",
      "Epoch 1316/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2493 - acc: 0.9012\n",
      "Epoch 1317/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2420 - acc: 0.8979\n",
      "Epoch 1318/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2477 - acc: 0.9001\n",
      "Epoch 1319/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2612 - acc: 0.8911\n",
      "Epoch 1320/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2633 - acc: 0.8911\n",
      "Epoch 1321/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2489 - acc: 0.8934\n",
      "Epoch 1322/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2600 - acc: 0.8979\n",
      "Epoch 1323/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2467 - acc: 0.8967\n",
      "Epoch 1324/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2502 - acc: 0.8945\n",
      "Epoch 1325/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2471 - acc: 0.9001\n",
      "Epoch 1326/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2490 - acc: 0.8945\n",
      "Epoch 1327/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2509 - acc: 0.8979\n",
      "Epoch 1328/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2628 - acc: 0.8934\n",
      "Epoch 1329/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2645 - acc: 0.8900\n",
      "Epoch 1330/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2539 - acc: 0.8878\n",
      "Epoch 1331/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2504 - acc: 0.9001\n",
      "Epoch 1332/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2656 - acc: 0.8765\n",
      "Epoch 1333/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2651 - acc: 0.8967\n",
      "Epoch 1334/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2440 - acc: 0.9046\n",
      "Epoch 1335/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2517 - acc: 0.8900\n",
      "Epoch 1336/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2481 - acc: 0.8967\n",
      "Epoch 1337/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2462 - acc: 0.8934\n",
      "Epoch 1338/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2467 - acc: 0.8979\n",
      "Epoch 1339/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2515 - acc: 0.8967\n",
      "Epoch 1340/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2573 - acc: 0.8990\n",
      "Epoch 1341/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2454 - acc: 0.8889\n",
      "Epoch 1342/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2478 - acc: 0.8967\n",
      "Epoch 1343/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2529 - acc: 0.8934\n",
      "Epoch 1344/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2505 - acc: 0.8934\n",
      "Epoch 1345/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2503 - acc: 0.8923\n",
      "Epoch 1346/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.3062 - acc: 0.8878\n",
      "Epoch 1347/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2932 - acc: 0.8878\n",
      "Epoch 1348/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2868 - acc: 0.8777\n",
      "Epoch 1349/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2644 - acc: 0.8900\n",
      "Epoch 1350/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2573 - acc: 0.8844\n",
      "Epoch 1351/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2596 - acc: 0.8878\n",
      "Epoch 1352/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2452 - acc: 0.8956\n",
      "Epoch 1353/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2432 - acc: 0.9035\n",
      "Epoch 1354/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2467 - acc: 0.8990\n",
      "Epoch 1355/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2440 - acc: 0.9001\n",
      "Epoch 1356/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2447 - acc: 0.8979\n",
      "Epoch 1357/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2484 - acc: 0.8945\n",
      "Epoch 1358/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2497 - acc: 0.9024\n",
      "Epoch 1359/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2429 - acc: 0.8979\n",
      "Epoch 1360/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2483 - acc: 0.8967\n",
      "Epoch 1361/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2521 - acc: 0.8923\n",
      "Epoch 1362/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2577 - acc: 0.8866\n",
      "Epoch 1363/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2442 - acc: 0.8945\n",
      "Epoch 1364/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2472 - acc: 0.8967\n",
      "Epoch 1365/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2431 - acc: 0.8967\n",
      "Epoch 1366/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2517 - acc: 0.8967\n",
      "Epoch 1367/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2491 - acc: 0.8967\n",
      "Epoch 1368/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2433 - acc: 0.9035\n",
      "Epoch 1369/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2420 - acc: 0.8979\n",
      "Epoch 1370/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2414 - acc: 0.9012\n",
      "Epoch 1371/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2498 - acc: 0.8945\n",
      "Epoch 1372/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2468 - acc: 0.8911\n",
      "Epoch 1373/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2503 - acc: 0.8956\n",
      "Epoch 1374/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2465 - acc: 0.8934\n",
      "Epoch 1375/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2445 - acc: 0.8945\n",
      "Epoch 1376/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2535 - acc: 0.8923\n",
      "Epoch 1377/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2601 - acc: 0.8866\n",
      "Epoch 1378/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2547 - acc: 0.8923\n",
      "Epoch 1379/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2440 - acc: 0.8990\n",
      "Epoch 1380/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2445 - acc: 0.9001\n",
      "Epoch 1381/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2506 - acc: 0.8967\n",
      "Epoch 1382/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2503 - acc: 0.8934\n",
      "Epoch 1383/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2469 - acc: 0.8979\n",
      "Epoch 1384/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2494 - acc: 0.8934\n",
      "Epoch 1385/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2473 - acc: 0.9001\n",
      "Epoch 1386/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2537 - acc: 0.8855\n",
      "Epoch 1387/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2507 - acc: 0.8945\n",
      "Epoch 1388/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2541 - acc: 0.8900\n",
      "Epoch 1389/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2526 - acc: 0.8979\n",
      "Epoch 1390/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2411 - acc: 0.9046\n",
      "Epoch 1391/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2505 - acc: 0.8889\n",
      "Epoch 1392/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2537 - acc: 0.8979\n",
      "Epoch 1393/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2503 - acc: 0.8979\n",
      "Epoch 1394/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2512 - acc: 0.8923\n",
      "Epoch 1395/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2538 - acc: 0.8911\n",
      "Epoch 1396/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2531 - acc: 0.8900\n",
      "Epoch 1397/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2444 - acc: 0.9012\n",
      "Epoch 1398/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2438 - acc: 0.8990\n",
      "Epoch 1399/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2489 - acc: 0.8900\n",
      "Epoch 1400/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2423 - acc: 0.8990\n",
      "Epoch 1401/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2468 - acc: 0.8979\n",
      "Epoch 1402/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2496 - acc: 0.9001\n",
      "Epoch 1403/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2408 - acc: 0.8967\n",
      "Epoch 1404/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2453 - acc: 0.8934\n",
      "Epoch 1405/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2511 - acc: 0.8945\n",
      "Epoch 1406/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2500 - acc: 0.8979\n",
      "Epoch 1407/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2617 - acc: 0.8911\n",
      "Epoch 1408/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2478 - acc: 0.8911\n",
      "Epoch 1409/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2506 - acc: 0.8967\n",
      "Epoch 1410/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2485 - acc: 0.9012\n",
      "Epoch 1411/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2469 - acc: 0.8956\n",
      "Epoch 1412/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2480 - acc: 0.8967\n",
      "Epoch 1413/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2418 - acc: 0.9001\n",
      "Epoch 1414/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2587 - acc: 0.8878\n",
      "Epoch 1415/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2484 - acc: 0.9012\n",
      "Epoch 1416/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2444 - acc: 0.9057\n",
      "Epoch 1417/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2544 - acc: 0.8934\n",
      "Epoch 1418/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2480 - acc: 0.8945\n",
      "Epoch 1419/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2499 - acc: 0.8911\n",
      "Epoch 1420/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2470 - acc: 0.8911\n",
      "Epoch 1421/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2457 - acc: 0.8934\n",
      "Epoch 1422/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2484 - acc: 0.8956\n",
      "Epoch 1423/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2446 - acc: 0.8967\n",
      "Epoch 1424/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2418 - acc: 0.8900\n",
      "Epoch 1425/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2462 - acc: 0.8945\n",
      "Epoch 1426/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2444 - acc: 0.8911\n",
      "Epoch 1427/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2468 - acc: 0.8990\n",
      "Epoch 1428/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2687 - acc: 0.8833\n",
      "Epoch 1429/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2586 - acc: 0.8956\n",
      "Epoch 1430/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2487 - acc: 0.8911\n",
      "Epoch 1431/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2473 - acc: 0.8967\n",
      "Epoch 1432/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2507 - acc: 0.9001\n",
      "Epoch 1433/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2470 - acc: 0.9046\n",
      "Epoch 1434/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2465 - acc: 0.8967\n",
      "Epoch 1435/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2437 - acc: 0.8900\n",
      "Epoch 1436/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2671 - acc: 0.8967\n",
      "Epoch 1437/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2562 - acc: 0.8900\n",
      "Epoch 1438/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2437 - acc: 0.8945\n",
      "Epoch 1439/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2426 - acc: 0.8979\n",
      "Epoch 1440/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2497 - acc: 0.8923\n",
      "Epoch 1441/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2499 - acc: 0.8911\n",
      "Epoch 1442/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2436 - acc: 0.9024\n",
      "Epoch 1443/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2496 - acc: 0.8956\n",
      "Epoch 1444/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2557 - acc: 0.8956\n",
      "Epoch 1445/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2516 - acc: 0.8923\n",
      "Epoch 1446/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2417 - acc: 0.8990\n",
      "Epoch 1447/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2429 - acc: 0.9035\n",
      "Epoch 1448/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2495 - acc: 0.9001\n",
      "Epoch 1449/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2686 - acc: 0.8911\n",
      "Epoch 1450/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2515 - acc: 0.8967\n",
      "Epoch 1451/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2577 - acc: 0.8911\n",
      "Epoch 1452/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2493 - acc: 0.8945\n",
      "Epoch 1453/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2472 - acc: 0.8956\n",
      "Epoch 1454/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2426 - acc: 0.9001\n",
      "Epoch 1455/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2575 - acc: 0.8889\n",
      "Epoch 1456/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2497 - acc: 0.8900\n",
      "Epoch 1457/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2522 - acc: 0.8990\n",
      "Epoch 1458/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2861 - acc: 0.8732\n",
      "Epoch 1459/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2615 - acc: 0.8934\n",
      "Epoch 1460/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 83us/step - loss: 0.2573 - acc: 0.8855\n",
      "Epoch 1461/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2538 - acc: 0.8923\n",
      "Epoch 1462/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2542 - acc: 0.8799\n",
      "Epoch 1463/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2498 - acc: 0.8889\n",
      "Epoch 1464/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2484 - acc: 0.8979\n",
      "Epoch 1465/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2438 - acc: 0.8979\n",
      "Epoch 1466/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2493 - acc: 0.9012\n",
      "Epoch 1467/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2472 - acc: 0.8979\n",
      "Epoch 1468/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2412 - acc: 0.8990\n",
      "Epoch 1469/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2444 - acc: 0.8923\n",
      "Epoch 1470/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2464 - acc: 0.8956\n",
      "Epoch 1471/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2448 - acc: 0.8967\n",
      "Epoch 1472/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2446 - acc: 0.8956\n",
      "Epoch 1473/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2527 - acc: 0.8923\n",
      "Epoch 1474/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2439 - acc: 0.8956\n",
      "Epoch 1475/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2455 - acc: 0.9012\n",
      "Epoch 1476/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2501 - acc: 0.8979\n",
      "Epoch 1477/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2443 - acc: 0.8967\n",
      "Epoch 1478/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2400 - acc: 0.9024\n",
      "Epoch 1479/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2444 - acc: 0.8979\n",
      "Epoch 1480/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2407 - acc: 0.8979\n",
      "Epoch 1481/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2457 - acc: 0.9024\n",
      "Epoch 1482/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2430 - acc: 0.9001\n",
      "Epoch 1483/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2436 - acc: 0.8967\n",
      "Epoch 1484/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2449 - acc: 0.8956\n",
      "Epoch 1485/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2477 - acc: 0.8967\n",
      "Epoch 1486/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2443 - acc: 0.8923\n",
      "Epoch 1487/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2468 - acc: 0.9001\n",
      "Epoch 1488/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2443 - acc: 0.8934\n",
      "Epoch 1489/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2404 - acc: 0.9057\n",
      "Epoch 1490/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2444 - acc: 0.8967\n",
      "Epoch 1491/2000\n",
      "891/891 [==============================] - 0s 81us/step - loss: 0.2506 - acc: 0.8956\n",
      "Epoch 1492/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2452 - acc: 0.8956\n",
      "Epoch 1493/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2512 - acc: 0.8990\n",
      "Epoch 1494/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2516 - acc: 0.8900\n",
      "Epoch 1495/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2530 - acc: 0.8900\n",
      "Epoch 1496/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2517 - acc: 0.8900\n",
      "Epoch 1497/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2417 - acc: 0.9001\n",
      "Epoch 1498/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2619 - acc: 0.8923\n",
      "Epoch 1499/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2494 - acc: 0.8967\n",
      "Epoch 1500/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2441 - acc: 0.9012\n",
      "Epoch 1501/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2451 - acc: 0.9080\n",
      "Epoch 1502/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2447 - acc: 0.8945\n",
      "Epoch 1503/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2399 - acc: 0.9012\n",
      "Epoch 1504/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2399 - acc: 0.9001\n",
      "Epoch 1505/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2479 - acc: 0.8967\n",
      "Epoch 1506/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2403 - acc: 0.9012\n",
      "Epoch 1507/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2545 - acc: 0.8934\n",
      "Epoch 1508/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2520 - acc: 0.8967\n",
      "Epoch 1509/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2536 - acc: 0.8923\n",
      "Epoch 1510/2000\n",
      "891/891 [==============================] - 0s 82us/step - loss: 0.2468 - acc: 0.8956\n",
      "Epoch 1511/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2519 - acc: 0.8923\n",
      "Epoch 1512/2000\n",
      "891/891 [==============================] - 0s 83us/step - loss: 0.2543 - acc: 0.8923\n",
      "Epoch 1513/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.3116 - acc: 0.8878\n",
      "Epoch 1514/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2523 - acc: 0.8934\n",
      "Epoch 1515/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2527 - acc: 0.8934\n",
      "Epoch 1516/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2475 - acc: 0.8979\n",
      "Epoch 1517/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2422 - acc: 0.9057\n",
      "Epoch 1518/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2425 - acc: 0.8990\n",
      "Epoch 1519/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2462 - acc: 0.8923\n",
      "Epoch 1520/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2425 - acc: 0.8956\n",
      "Epoch 1521/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2434 - acc: 0.9012\n",
      "Epoch 1522/2000\n",
      "891/891 [==============================] - 0s 84us/step - loss: 0.2500 - acc: 0.8945\n",
      "Epoch 1523/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2492 - acc: 0.8900\n",
      "Epoch 1524/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2420 - acc: 0.8967\n",
      "Epoch 1525/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2401 - acc: 0.8945\n",
      "Epoch 1526/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2447 - acc: 0.8945\n",
      "Epoch 1527/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2466 - acc: 0.8945\n",
      "Epoch 1528/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2471 - acc: 0.8923\n",
      "Epoch 1529/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2440 - acc: 0.8990\n",
      "Epoch 1530/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2396 - acc: 0.9012\n",
      "Epoch 1531/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2424 - acc: 0.9102\n",
      "Epoch 1532/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2707 - acc: 0.8934\n",
      "Epoch 1533/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2453 - acc: 0.8956\n",
      "Epoch 1534/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2563 - acc: 0.9001\n",
      "Epoch 1535/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2424 - acc: 0.9035\n",
      "Epoch 1536/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2400 - acc: 0.9024\n",
      "Epoch 1537/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2433 - acc: 0.8945\n",
      "Epoch 1538/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2406 - acc: 0.8967\n",
      "Epoch 1539/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2455 - acc: 0.8945\n",
      "Epoch 1540/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2428 - acc: 0.8979\n",
      "Epoch 1541/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2423 - acc: 0.8911\n",
      "Epoch 1542/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2503 - acc: 0.8923\n",
      "Epoch 1543/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2435 - acc: 0.9012\n",
      "Epoch 1544/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2416 - acc: 0.9035\n",
      "Epoch 1545/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2465 - acc: 0.9001\n",
      "Epoch 1546/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2560 - acc: 0.8889\n",
      "Epoch 1547/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2386 - acc: 0.9035\n",
      "Epoch 1548/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2464 - acc: 0.9035\n",
      "Epoch 1549/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2496 - acc: 0.9024\n",
      "Epoch 1550/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2432 - acc: 0.9012\n",
      "Epoch 1551/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2509 - acc: 0.8945\n",
      "Epoch 1552/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2464 - acc: 0.8945\n",
      "Epoch 1553/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2592 - acc: 0.8911\n",
      "Epoch 1554/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2526 - acc: 0.8911\n",
      "Epoch 1555/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2574 - acc: 0.8956\n",
      "Epoch 1556/2000\n",
      "891/891 [==============================] - 0s 85us/step - loss: 0.2477 - acc: 0.8967\n",
      "Epoch 1557/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2493 - acc: 0.8945\n",
      "Epoch 1558/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2444 - acc: 0.8956\n",
      "Epoch 1559/2000\n",
      "891/891 [==============================] - 0s 115us/step - loss: 0.2443 - acc: 0.9024\n",
      "Epoch 1560/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2477 - acc: 0.8979\n",
      "Epoch 1561/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2471 - acc: 0.8911\n",
      "Epoch 1562/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2480 - acc: 0.8900\n",
      "Epoch 1563/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2694 - acc: 0.8911\n",
      "Epoch 1564/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2470 - acc: 0.9001\n",
      "Epoch 1565/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2400 - acc: 0.9001\n",
      "Epoch 1566/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2434 - acc: 0.8911\n",
      "Epoch 1567/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2544 - acc: 0.8810\n",
      "Epoch 1568/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2404 - acc: 0.9001\n",
      "Epoch 1569/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2428 - acc: 0.9001\n",
      "Epoch 1570/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2396 - acc: 0.9068\n",
      "Epoch 1571/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2408 - acc: 0.9001\n",
      "Epoch 1572/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2375 - acc: 0.9024\n",
      "Epoch 1573/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2405 - acc: 0.8900\n",
      "Epoch 1574/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2384 - acc: 0.9001\n",
      "Epoch 1575/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2491 - acc: 0.8945\n",
      "Epoch 1576/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2427 - acc: 0.8990\n",
      "Epoch 1577/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2444 - acc: 0.8979\n",
      "Epoch 1578/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2418 - acc: 0.9024\n",
      "Epoch 1579/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2402 - acc: 0.8934\n",
      "Epoch 1580/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2449 - acc: 0.8923\n",
      "Epoch 1581/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2520 - acc: 0.8889\n",
      "Epoch 1582/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2574 - acc: 0.8900\n",
      "Epoch 1583/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2574 - acc: 0.8956\n",
      "Epoch 1584/2000\n",
      "891/891 [==============================] - 0s 98us/step - loss: 0.2462 - acc: 0.8956\n",
      "Epoch 1585/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2528 - acc: 0.9012\n",
      "Epoch 1586/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2503 - acc: 0.8934\n",
      "Epoch 1587/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2386 - acc: 0.9024\n",
      "Epoch 1588/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2398 - acc: 0.9001\n",
      "Epoch 1589/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2463 - acc: 0.9001\n",
      "Epoch 1590/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2415 - acc: 0.9046\n",
      "Epoch 1591/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2415 - acc: 0.8979\n",
      "Epoch 1592/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2483 - acc: 0.8911\n",
      "Epoch 1593/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2392 - acc: 0.8967\n",
      "Epoch 1594/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2449 - acc: 0.8923\n",
      "Epoch 1595/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2610 - acc: 0.8889\n",
      "Epoch 1596/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2371 - acc: 0.8990\n",
      "Epoch 1597/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2547 - acc: 0.8956\n",
      "Epoch 1598/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2440 - acc: 0.8979\n",
      "Epoch 1599/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2365 - acc: 0.8979\n",
      "Epoch 1600/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2416 - acc: 0.8900\n",
      "Epoch 1601/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2385 - acc: 0.8945\n",
      "Epoch 1602/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2472 - acc: 0.9035\n",
      "Epoch 1603/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2382 - acc: 0.8979\n",
      "Epoch 1604/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2387 - acc: 0.8990\n",
      "Epoch 1605/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2411 - acc: 0.9046\n",
      "Epoch 1606/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2489 - acc: 0.8923\n",
      "Epoch 1607/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2399 - acc: 0.8990\n",
      "Epoch 1608/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2426 - acc: 0.8923\n",
      "Epoch 1609/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2383 - acc: 0.9001\n",
      "Epoch 1610/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2434 - acc: 0.8945\n",
      "Epoch 1611/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2571 - acc: 0.8956\n",
      "Epoch 1612/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2451 - acc: 0.8934\n",
      "Epoch 1613/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2401 - acc: 0.9012\n",
      "Epoch 1614/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2393 - acc: 0.8956\n",
      "Epoch 1615/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2459 - acc: 0.8990\n",
      "Epoch 1616/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2469 - acc: 0.8934\n",
      "Epoch 1617/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2456 - acc: 0.8967\n",
      "Epoch 1618/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2455 - acc: 0.8911\n",
      "Epoch 1619/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2489 - acc: 0.8889\n",
      "Epoch 1620/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2518 - acc: 0.8923\n",
      "Epoch 1621/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2605 - acc: 0.8934\n",
      "Epoch 1622/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 100us/step - loss: 0.2498 - acc: 0.8990\n",
      "Epoch 1623/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2474 - acc: 0.8967\n",
      "Epoch 1624/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2468 - acc: 0.8979\n",
      "Epoch 1625/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2458 - acc: 0.9012\n",
      "Epoch 1626/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2480 - acc: 0.8956\n",
      "Epoch 1627/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2635 - acc: 0.8911\n",
      "Epoch 1628/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2531 - acc: 0.8866\n",
      "Epoch 1629/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2712 - acc: 0.8945\n",
      "Epoch 1630/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2508 - acc: 0.9046\n",
      "Epoch 1631/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2441 - acc: 0.8990\n",
      "Epoch 1632/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2393 - acc: 0.8990\n",
      "Epoch 1633/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2375 - acc: 0.8979\n",
      "Epoch 1634/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2583 - acc: 0.8923\n",
      "Epoch 1635/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2351 - acc: 0.9057\n",
      "Epoch 1636/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2327 - acc: 0.9068\n",
      "Epoch 1637/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2346 - acc: 0.9046\n",
      "Epoch 1638/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2420 - acc: 0.8956\n",
      "Epoch 1639/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2579 - acc: 0.8923\n",
      "Epoch 1640/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2390 - acc: 0.8979\n",
      "Epoch 1641/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2382 - acc: 0.9024\n",
      "Epoch 1642/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2446 - acc: 0.8900\n",
      "Epoch 1643/2000\n",
      "891/891 [==============================] - 0s 114us/step - loss: 0.2380 - acc: 0.9024\n",
      "Epoch 1644/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2451 - acc: 0.8979\n",
      "Epoch 1645/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2464 - acc: 0.8934\n",
      "Epoch 1646/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2349 - acc: 0.9024\n",
      "Epoch 1647/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.2352 - acc: 0.9024\n",
      "Epoch 1648/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2343 - acc: 0.9001\n",
      "Epoch 1649/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2391 - acc: 0.9012\n",
      "Epoch 1650/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2391 - acc: 0.9046\n",
      "Epoch 1651/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2408 - acc: 0.9012\n",
      "Epoch 1652/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2390 - acc: 0.8956\n",
      "Epoch 1653/2000\n",
      "891/891 [==============================] - 0s 116us/step - loss: 0.2448 - acc: 0.8967\n",
      "Epoch 1654/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2396 - acc: 0.8967\n",
      "Epoch 1655/2000\n",
      "891/891 [==============================] - 0s 113us/step - loss: 0.2403 - acc: 0.9024\n",
      "Epoch 1656/2000\n",
      "891/891 [==============================] - 0s 109us/step - loss: 0.2875 - acc: 0.8911\n",
      "Epoch 1657/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2693 - acc: 0.8911\n",
      "Epoch 1658/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2427 - acc: 0.8979\n",
      "Epoch 1659/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2493 - acc: 0.8889\n",
      "Epoch 1660/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2420 - acc: 0.8990\n",
      "Epoch 1661/2000\n",
      "891/891 [==============================] - 0s 111us/step - loss: 0.2389 - acc: 0.8979\n",
      "Epoch 1662/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2445 - acc: 0.9012\n",
      "Epoch 1663/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2424 - acc: 0.8979\n",
      "Epoch 1664/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2391 - acc: 0.8956\n",
      "Epoch 1665/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2375 - acc: 0.8979\n",
      "Epoch 1666/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2450 - acc: 0.8911\n",
      "Epoch 1667/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2441 - acc: 0.8979\n",
      "Epoch 1668/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2419 - acc: 0.8900\n",
      "Epoch 1669/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2369 - acc: 0.8967\n",
      "Epoch 1670/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2359 - acc: 0.8990\n",
      "Epoch 1671/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2404 - acc: 0.8900\n",
      "Epoch 1672/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2362 - acc: 0.8990\n",
      "Epoch 1673/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2440 - acc: 0.9012\n",
      "Epoch 1674/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2434 - acc: 0.8923\n",
      "Epoch 1675/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2421 - acc: 0.9012\n",
      "Epoch 1676/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2485 - acc: 0.8990\n",
      "Epoch 1677/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2430 - acc: 0.8990\n",
      "Epoch 1678/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2413 - acc: 0.8956\n",
      "Epoch 1679/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2360 - acc: 0.9080\n",
      "Epoch 1680/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2409 - acc: 0.8990\n",
      "Epoch 1681/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2377 - acc: 0.9035\n",
      "Epoch 1682/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2398 - acc: 0.9024\n",
      "Epoch 1683/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2385 - acc: 0.9012\n",
      "Epoch 1684/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2378 - acc: 0.9012\n",
      "Epoch 1685/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2357 - acc: 0.9024\n",
      "Epoch 1686/2000\n",
      "891/891 [==============================] - 0s 106us/step - loss: 0.2438 - acc: 0.8979\n",
      "Epoch 1687/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2461 - acc: 0.8956\n",
      "Epoch 1688/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2485 - acc: 0.8855\n",
      "Epoch 1689/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2427 - acc: 0.8945\n",
      "Epoch 1690/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2395 - acc: 0.9024\n",
      "Epoch 1691/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2418 - acc: 0.8990\n",
      "Epoch 1692/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2396 - acc: 0.8956\n",
      "Epoch 1693/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2409 - acc: 0.9024\n",
      "Epoch 1694/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2423 - acc: 0.9001\n",
      "Epoch 1695/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2358 - acc: 0.9068\n",
      "Epoch 1696/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2431 - acc: 0.8934\n",
      "Epoch 1697/2000\n",
      "891/891 [==============================] - 0s 119us/step - loss: 0.2454 - acc: 0.8979\n",
      "Epoch 1698/2000\n",
      "891/891 [==============================] - 0s 121us/step - loss: 0.2394 - acc: 0.8956\n",
      "Epoch 1699/2000\n",
      "891/891 [==============================] - 0s 110us/step - loss: 0.2369 - acc: 0.9035\n",
      "Epoch 1700/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2428 - acc: 0.8934\n",
      "Epoch 1701/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2411 - acc: 0.8990\n",
      "Epoch 1702/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2437 - acc: 0.8979\n",
      "Epoch 1703/2000\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "891/891 [==============================] - 0s 94us/step - loss: 0.2369 - acc: 0.9001\n",
      "Epoch 1704/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2410 - acc: 0.9057\n",
      "Epoch 1705/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2325 - acc: 0.9046\n",
      "Epoch 1706/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2376 - acc: 0.8979\n",
      "Epoch 1707/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2467 - acc: 0.8956\n",
      "Epoch 1708/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2535 - acc: 0.8934\n",
      "Epoch 1709/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2364 - acc: 0.9001\n",
      "Epoch 1710/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2404 - acc: 0.9012\n",
      "Epoch 1711/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2348 - acc: 0.8945\n",
      "Epoch 1712/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2423 - acc: 0.8911\n",
      "Epoch 1713/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2460 - acc: 0.8967\n",
      "Epoch 1714/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2467 - acc: 0.8889\n",
      "Epoch 1715/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2374 - acc: 0.9024\n",
      "Epoch 1716/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2441 - acc: 0.9024\n",
      "Epoch 1717/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2384 - acc: 0.8979\n",
      "Epoch 1718/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2365 - acc: 0.9057\n",
      "Epoch 1719/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2396 - acc: 0.9001\n",
      "Epoch 1720/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2346 - acc: 0.9057\n",
      "Epoch 1721/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2340 - acc: 0.9046\n",
      "Epoch 1722/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2362 - acc: 0.8990\n",
      "Epoch 1723/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2384 - acc: 0.8979\n",
      "Epoch 1724/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2356 - acc: 0.8945\n",
      "Epoch 1725/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2327 - acc: 0.8990\n",
      "Epoch 1726/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2434 - acc: 0.8979\n",
      "Epoch 1727/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2379 - acc: 0.8979\n",
      "Epoch 1728/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2439 - acc: 0.8900\n",
      "Epoch 1729/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2534 - acc: 0.8967\n",
      "Epoch 1730/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2511 - acc: 0.9001\n",
      "Epoch 1731/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2429 - acc: 0.8967\n",
      "Epoch 1732/2000\n",
      "891/891 [==============================] - 0s 104us/step - loss: 0.2450 - acc: 0.8945\n",
      "Epoch 1733/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2422 - acc: 0.8911\n",
      "Epoch 1734/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2374 - acc: 0.9001\n",
      "Epoch 1735/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2413 - acc: 0.9035\n",
      "Epoch 1736/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2407 - acc: 0.9001\n",
      "Epoch 1737/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2440 - acc: 0.8945\n",
      "Epoch 1738/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2357 - acc: 0.8967\n",
      "Epoch 1739/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2510 - acc: 0.8945\n",
      "Epoch 1740/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2585 - acc: 0.8900\n",
      "Epoch 1741/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2447 - acc: 0.8900\n",
      "Epoch 1742/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2509 - acc: 0.8923\n",
      "Epoch 1743/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2583 - acc: 0.8911\n",
      "Epoch 1744/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2363 - acc: 0.9012\n",
      "Epoch 1745/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2392 - acc: 0.8956\n",
      "Epoch 1746/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2360 - acc: 0.9024\n",
      "Epoch 1747/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2356 - acc: 0.9068\n",
      "Epoch 1748/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2367 - acc: 0.9001\n",
      "Epoch 1749/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2358 - acc: 0.8979\n",
      "Epoch 1750/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2375 - acc: 0.9035\n",
      "Epoch 1751/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2407 - acc: 0.9001\n",
      "Epoch 1752/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2423 - acc: 0.9001\n",
      "Epoch 1753/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2315 - acc: 0.9046\n",
      "Epoch 1754/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2424 - acc: 0.8967\n",
      "Epoch 1755/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2415 - acc: 0.8956\n",
      "Epoch 1756/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2320 - acc: 0.8990\n",
      "Epoch 1757/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2397 - acc: 0.8979\n",
      "Epoch 1758/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2437 - acc: 0.9001\n",
      "Epoch 1759/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2379 - acc: 0.8979\n",
      "Epoch 1760/2000\n",
      "891/891 [==============================] - 0s 99us/step - loss: 0.2428 - acc: 0.8967\n",
      "Epoch 1761/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2384 - acc: 0.8990\n",
      "Epoch 1762/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2374 - acc: 0.8979\n",
      "Epoch 1763/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2339 - acc: 0.9035\n",
      "Epoch 1764/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2419 - acc: 0.9046\n",
      "Epoch 1765/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2363 - acc: 0.9001\n",
      "Epoch 1766/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2427 - acc: 0.8967\n",
      "Epoch 1767/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2498 - acc: 0.8923\n",
      "Epoch 1768/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2359 - acc: 0.8990\n",
      "Epoch 1769/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2416 - acc: 0.8956\n",
      "Epoch 1770/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2343 - acc: 0.9035\n",
      "Epoch 1771/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2387 - acc: 0.9001\n",
      "Epoch 1772/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2403 - acc: 0.9012\n",
      "Epoch 1773/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2310 - acc: 0.9024\n",
      "Epoch 1774/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2337 - acc: 0.9012\n",
      "Epoch 1775/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2368 - acc: 0.8979\n",
      "Epoch 1776/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2382 - acc: 0.9001\n",
      "Epoch 1777/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2384 - acc: 0.8967\n",
      "Epoch 1778/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2354 - acc: 0.9046\n",
      "Epoch 1779/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2350 - acc: 0.9068\n",
      "Epoch 1780/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2475 - acc: 0.8956\n",
      "Epoch 1781/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2364 - acc: 0.9024\n",
      "Epoch 1782/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2355 - acc: 0.8967\n",
      "Epoch 1783/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2409 - acc: 0.8956\n",
      "Epoch 1784/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2343 - acc: 0.9024\n",
      "Epoch 1785/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2561 - acc: 0.8967\n",
      "Epoch 1786/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2664 - acc: 0.8844\n",
      "Epoch 1787/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2403 - acc: 0.8979\n",
      "Epoch 1788/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2412 - acc: 0.9057\n",
      "Epoch 1789/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2378 - acc: 0.9012\n",
      "Epoch 1790/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2371 - acc: 0.8934\n",
      "Epoch 1791/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2352 - acc: 0.9012\n",
      "Epoch 1792/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2335 - acc: 0.9125\n",
      "Epoch 1793/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2398 - acc: 0.9012\n",
      "Epoch 1794/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2357 - acc: 0.9035\n",
      "Epoch 1795/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2418 - acc: 0.8934\n",
      "Epoch 1796/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2406 - acc: 0.8956\n",
      "Epoch 1797/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2446 - acc: 0.8911\n",
      "Epoch 1798/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2353 - acc: 0.9046\n",
      "Epoch 1799/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2377 - acc: 0.9001\n",
      "Epoch 1800/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2367 - acc: 0.9024\n",
      "Epoch 1801/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2485 - acc: 0.8945\n",
      "Epoch 1802/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2375 - acc: 0.9012\n",
      "Epoch 1803/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2374 - acc: 0.8923\n",
      "Epoch 1804/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2345 - acc: 0.8967\n",
      "Epoch 1805/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2310 - acc: 0.9046\n",
      "Epoch 1806/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2482 - acc: 0.8889\n",
      "Epoch 1807/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2492 - acc: 0.8923\n",
      "Epoch 1808/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2365 - acc: 0.8945\n",
      "Epoch 1809/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2543 - acc: 0.8911\n",
      "Epoch 1810/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2387 - acc: 0.9001\n",
      "Epoch 1811/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2814 - acc: 0.8889\n",
      "Epoch 1812/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2913 - acc: 0.8866\n",
      "Epoch 1813/2000\n",
      "891/891 [==============================] - 0s 105us/step - loss: 0.2417 - acc: 0.8945\n",
      "Epoch 1814/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2495 - acc: 0.8934\n",
      "Epoch 1815/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2382 - acc: 0.9024\n",
      "Epoch 1816/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2403 - acc: 0.8956\n",
      "Epoch 1817/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2318 - acc: 0.9001\n",
      "Epoch 1818/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2414 - acc: 0.9035\n",
      "Epoch 1819/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2410 - acc: 0.8923\n",
      "Epoch 1820/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2439 - acc: 0.8967\n",
      "Epoch 1821/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2398 - acc: 0.8900\n",
      "Epoch 1822/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2432 - acc: 0.8979\n",
      "Epoch 1823/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2340 - acc: 0.9057\n",
      "Epoch 1824/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2356 - acc: 0.9046\n",
      "Epoch 1825/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2363 - acc: 0.9091\n",
      "Epoch 1826/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2327 - acc: 0.9012\n",
      "Epoch 1827/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2347 - acc: 0.9001\n",
      "Epoch 1828/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2349 - acc: 0.9012\n",
      "Epoch 1829/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2354 - acc: 0.8990\n",
      "Epoch 1830/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2357 - acc: 0.9068\n",
      "Epoch 1831/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2352 - acc: 0.9057\n",
      "Epoch 1832/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2416 - acc: 0.9012\n",
      "Epoch 1833/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2375 - acc: 0.8979\n",
      "Epoch 1834/2000\n",
      "891/891 [==============================] - 0s 90us/step - loss: 0.2389 - acc: 0.8934\n",
      "Epoch 1835/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2305 - acc: 0.8934\n",
      "Epoch 1836/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2404 - acc: 0.8967\n",
      "Epoch 1837/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2460 - acc: 0.8956\n",
      "Epoch 1838/2000\n",
      "891/891 [==============================] - 0s 107us/step - loss: 0.2347 - acc: 0.9001\n",
      "Epoch 1839/2000\n",
      "891/891 [==============================] - 0s 87us/step - loss: 0.2453 - acc: 0.8967\n",
      "Epoch 1840/2000\n",
      "891/891 [==============================] - 0s 96us/step - loss: 0.2553 - acc: 0.8956\n",
      "Epoch 1841/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2524 - acc: 0.8945\n",
      "Epoch 1842/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2352 - acc: 0.9024\n",
      "Epoch 1843/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2346 - acc: 0.9035\n",
      "Epoch 1844/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2320 - acc: 0.9035\n",
      "Epoch 1845/2000\n",
      "891/891 [==============================] - 0s 101us/step - loss: 0.2387 - acc: 0.9024\n",
      "Epoch 1846/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2313 - acc: 0.9057\n",
      "Epoch 1847/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2301 - acc: 0.9046\n",
      "Epoch 1848/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2340 - acc: 0.8967\n",
      "Epoch 1849/2000\n",
      "891/891 [==============================] - 0s 93us/step - loss: 0.2397 - acc: 0.9001\n",
      "Epoch 1850/2000\n",
      "891/891 [==============================] - 0s 103us/step - loss: 0.2379 - acc: 0.8967\n",
      "Epoch 1851/2000\n",
      "891/891 [==============================] - 0s 112us/step - loss: 0.2348 - acc: 0.9046\n",
      "Epoch 1852/2000\n",
      "891/891 [==============================] - 0s 100us/step - loss: 0.2286 - acc: 0.9012\n",
      "Epoch 1853/2000\n",
      "891/891 [==============================] - 0s 86us/step - loss: 0.2337 - acc: 0.9024\n",
      "Epoch 1854/2000\n",
      "891/891 [==============================] - 0s 102us/step - loss: 0.2370 - acc: 0.9001\n",
      "Epoch 1855/2000\n",
      "891/891 [==============================] - 0s 88us/step - loss: 0.2336 - acc: 0.8990\n",
      "Epoch 1856/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2307 - acc: 0.8956\n",
      "Epoch 1857/2000\n",
      "891/891 [==============================] - 0s 95us/step - loss: 0.2355 - acc: 0.9012\n",
      "Epoch 1858/2000\n",
      "891/891 [==============================] - 0s 94us/step - loss: 0.2419 - acc: 0.9001\n",
      "Epoch 1859/2000\n",
      "891/891 [==============================] - 0s 97us/step - loss: 0.2367 - acc: 0.8934\n",
      "Epoch 1860/2000\n",
      "891/891 [==============================] - 0s 92us/step - loss: 0.2350 - acc: 0.9024\n",
      "Epoch 1861/2000\n",
      "891/891 [==============================] - 0s 91us/step - loss: 0.2380 - acc: 0.8923\n",
      "Epoch 1862/2000\n",
      "576/891 [==================>...........] - ETA: 0s - loss: 0.2185 - acc: 0.9184"
     ]
    }
   ],
   "source": [
    "model.fit(x,y,epochs=2000)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
